-
Notifications
You must be signed in to change notification settings - Fork 24
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
Names that use AnnAssign
are not supported
#49
Comments
Right, I hope to have the time in the near future, but so far, does not look promising, PR are always welcome 🌈 |
@gforcada will do if you promise me to release it after that 🙂 I am building https://github.com/wemake-services/wemake-python-styleguide/milestone/10 and it is going to be released soon. And I want to have this feature on board (I use |
@sobolevn that's a deal then :) |
Reproduction:
echo 'list: int = 1' > ex.py
flake8 ex.py
It exists with status code
0
.I expect it to work the same as
list = 1
which produces:The problem is in this line: https://github.com/gforcada/flake8-builtins/blob/master/flake8_builtins.py#L81 Because it does not check
ast.AnnAssign
The text was updated successfully, but these errors were encountered: