Skip to content

Commit

Permalink
revert reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidion committed Feb 22, 2024
1 parent b15754b commit e78cdd9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions fgpyo/util/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ def make_literal_parser(

def is_list_like(type_: type) -> bool:
"""Returns true if the value is a list or list like object"""
return typing.get_origin(type_) in [
list,
collections.abc.Iterable,
collections.abc.Sequence,
]
return typing.get_origin(type_) in [list, collections.abc.Iterable, collections.abc.Sequence]

Check warning on line 142 in fgpyo/util/types.py

View check run for this annotation

Codecov / codecov/patch

fgpyo/util/types.py#L142

Added line #L142 was not covered by tests


def none_parser(value: str) -> Literal[None]:
Expand Down

0 comments on commit e78cdd9

Please sign in to comment.