You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# typing: ignore is a way to ignore MyPy errors. But it does not work for the "Unexpected keyword argument" error. So I cannot silence errors in typeshed (see python/typeshed#2976).
$ cat a.py
def foo() -> None:
pass
foo(a=1) # typing: ignore
$ mypy a.py
a.py:1: note: "foo" defined here
a.py:4: error: Unexpected keyword argument "a" for "foo"
$ mypy --version
mypy 0.701