Skip to content

Commit d91a1a1

Browse files
committed
Mypy understands this now, no need for the ignore.
1 parent 06fb099 commit d91a1a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flake8_unused_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def is_stub_function(function: FunctionTypes) -> bool:
258258
if (
259259
isinstance(statement.exc, ast.Call)
260260
and hasattr(statement.exc.func, "id")
261-
and statement.exc.func.id == "NotImplementedError" # type: ignore
261+
and statement.exc.func.id == "NotImplementedError"
262262
):
263263
return True
264264

0 commit comments

Comments
 (0)