Skip to content

Commit

Permalink
Fix formatting (blacken)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinealan committed Oct 3, 2018
1 parent a7b59e5 commit 6676f54
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pylint/checkers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,15 +537,13 @@ def next_char(i):
return keys, num_args, key_types, pos_types


def split_format_field_names(
format_string
) -> Tuple[str, Iterable[Tuple[bool, str]]]:
def split_format_field_names(format_string) -> Tuple[str, Iterable[Tuple[bool, str]]]:
try:
return _string.formatter_field_name_split(format_string)
except ValueError:
raise IncompleteFormatString()


def collect_string_fields(format_string) -> Iterable[Optional[str]]:
""" Given a format string, return an iterator
of all the valid format fields. It handles nested fields
Expand Down

0 comments on commit 6676f54

Please sign in to comment.