-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Spyder gives wrong information about PEP8 with annotations #4314
Comments
This is not under Spyder control, i.e. Spyder only parses and reports warnings generated by the So I think you should report this issue in the |
After checking the file with |
If you put the mouse over the exclamation marker what is the message? Maybe It was generated for |
|
Just did a quick check, the error is thrown by the |
Ohh I see, so this error is related to #3197, that has already been fixed, and will be part of Spyder 3.2 |
The 3.2 milestone was planned for the day after tomorrow? I somehow feel like they're not going to reach it ;) Until then I'll just ignore this error and use pycodestyle manually I guess |
Description of your problem
Spyder recommends no whitespace around kwargs when there are type annotations, but according to PEP 8 there should be:
When combining an argument annotation with a default value, use spaces around the = sign (but only for those arguments that have both an annotation and a default).
Yes:
No:
What steps will reproduce the problem?
Versions and main components
The text was updated successfully, but these errors were encountered: