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

Change the position pointed out by W504 #751

Merged
merged 2 commits into from May 19, 2018

Conversation

Projects
None yet
2 participants
@hhatto
Copy link
Contributor

hhatto commented Apr 14, 2018

test environment:

$ python -V
Python 3.6.5
$ pycodestyle --version
2.4.0
$ pycodestyle --select=W --show-source target.py

input:

var = (1 &     # comment
       ~2)
(width == 0 and
 height == 0)

before:

target.py:1:8: W504 line break after binary operator
var = (1 &     # comment
       ^
target.py:3:2: W504 line break after binary operator
(width == 0 and
 ^

after:

target.py:1:10: W504 line break after binary operator
var = (1 &     # comment
         ^
target.py:3:13: W504 line break after binary operator
(width == 0 and
            ^

Thanks

@sigmavirus24 sigmavirus24 merged commit 0364618 into PyCQA:master May 19, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@sigmavirus24

This comment has been minimized.

Copy link
Member

sigmavirus24 commented May 19, 2018

Sorry for the delay on this!

@hhatto hhatto deleted the hhatto:w504-position branch May 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment