Skip to content

Commit

Permalink
Fix mypy complaint, i.e., remove unused type ignore annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobiasd committed Nov 8, 2021
1 parent 1596f20 commit cb6ab5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion undictify/_unpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def _is_list_ish_type(the_type: Callable[..., TypeT]) -> bool:
return (_is_instance(the_type, _GenericAlias) and
_type_origin_is(the_type, list) or
_is_instance(the_type, _GenericAlias) and
_type_origin_is(the_type, collections.abc.Sequence)) # type: ignore
_type_origin_is(the_type, collections.abc.Sequence))
except TypeError:
return False

Expand Down

0 comments on commit cb6ab5d

Please sign in to comment.