]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tox: Disable W504 ("line break after binary operator")
authorStephen Finucane <stephen@that.guru>
Fri, 26 Oct 2018 09:39:29 +0000 (10:39 +0100)
committerStephen Finucane <stephen@that.guru>
Fri, 26 Oct 2018 09:43:37 +0000 (10:43 +0100)
commit877a52413167e7b3baea6ede0a300f812919e7ad
tree6d2d01104fd5a9cf0a87b0d60fd494e91a1e960c
parent32248ce9c4ac1093eba9ae6bcac1e5d0ac5a62e3
tox: Disable W504 ("line break after binary operator")

This was introduced in a recent version of 'pycodestyle'. The
documentation notes [1] that it is mutually exclusive with W503, which
we do enforce, suggesting that we disable one or the other. Avoid the
churn and stick to the older rule, which I personally prefer.

[1] http://pycodestyle.pycqa.org/en/latest/intro.html#error-codes

NOTE(stephenfin): This isn't technically required here, but it does help
us maintain a passing 'pep8' tox target on this branch which is
generally useful for catching things like SyntaxErrors.

Signed-off-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit 498a8eeaa6c9d1dca8ab29a845325cff1463e815)
tox.ini