pycodestyle
pycodestyle copied to clipboard
E501: noqa on long broken line
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