-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot pass kwargs through for functions with default argument #7850
Comments
I think mypy is right here: the code is unsafe. If you call |
Yes, this code is technically unsafe, the error message is cryptic however, but we already have an issue to make it better, see #5382 |
If that is the case there should be an error raised in the second example as well, shouldn't it? |
Yes, I am however not super worried about the inconsistency. You may open an issue about this however if you want to prohibit this (or retitle this one). |
First, thanks a lot for this library!
This bug is probably related to #1969
results in this error:
The inconvenient fix would be:
Python version: 3.5.3
Mypy version: 0.740
mypy.ini
The text was updated successfully, but these errors were encountered: