We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
h = None assert None == hj
Command Line
$ autopep8 --in-place -aaaaaa --ignore-local-config --select E711,E712 -r foo.py
I expected to get
h = None assert None is h
The text was updated successfully, but these errors were encountered:
h = None assert None == h assert h == None
After formatted byautopep8 --aggressive t.py.
autopep8 --aggressive t.py
h = None assert None == h assert h is None
It will not work when None is a left operand. Confirmed and briefly checked the code.
None
autopep8/autopep8.py
Lines 1067 to 1068 in fff90d4
It just return 😳. If the additional check is unneeded, I can pull request to resolve.
Sorry, something went wrong.
this is fix in #498 .
I plan release to version 1.5.
hhatto
No branches or pull requests
Python Code
Command Line
I expected to get
The text was updated successfully, but these errors were encountered: