Skip to content
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

Moving "and" statement into a comment. E131 and W503 aggressive 3 #411

Closed
jack1728 opened this issue Jul 9, 2018 · 1 comment
Closed
Assignees
Labels

Comments

@jack1728
Copy link

jack1728 commented Jul 9, 2018

Code:
y = (
if a not in c
# 1234
and a not in d
)

Result:
y = (
if a not in c
# 1234 and
a not in d
)

Command: "autopep8 --in-place -aaa"

The "and" statement got moved into a commented line of code instead of the previous non-comment line

autopep8 1.3.5 (pycodestyle: 2.3.1)
Python 3.6.3

@hhatto hhatto added the bug label Sep 2, 2018
@hhatto hhatto self-assigned this Sep 2, 2018
hhatto added a commit that referenced this issue Sep 3, 2018
@hhatto
Copy link
Owner

hhatto commented Sep 4, 2018

Thanks for feedback.

fixed in latest master branch. (72821e7)

@hhatto hhatto closed this as completed Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants