Skip to content

Commit 3673fea

Browse files
committed
flake8 is the problem not mypy
1 parent 75dd664 commit 3673fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fgpyo/util/inspect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def dict_parse(dict_string: str) -> Dict[Any, Any]:
228228
return types.make_enum_parser(type_)
229229
elif types.is_constructible_from_str(type_):
230230
return functools.partial(type_)
231-
elif type_ is type(None): # type: ignore
231+
elif type_ is type(None): # noqa: E721
232232
return functools.partial(types.none_parser)
233233
elif types.get_origin_type(type_) is Union:
234234
return types.make_union_parser(

0 commit comments

Comments
 (0)