pycodestyle icon indicating copy to clipboard operation
pycodestyle copied to clipboard

E501: noqa on long broken line

Open inexxt opened this issue 8 years ago • 1 comments

Adding # noqas as below has no effect on pycodestyle, which still complains about E501 violation.

# noqa
x = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", \
    "b"  # noqa

(using long string of "a"s here just as an example, in reality it would be SomeVeryLongClassName.withVeryLongMethod)

Software version: pycodestyle==2.4.0, python 3.6.5

inexxt avatar Aug 31 '18 19:08 inexxt