diff options
author | Stephen Finucane <stephen@that.guru> | 2018-10-26 10:39:29 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2018-10-26 10:42:01 +0100 |
commit | 498a8eeaa6c9d1dca8ab29a845325cff1463e815 (patch) | |
tree | 8e6ce5efa48e509d3115353f8ec414676ebe0488 /tox.ini | |
parent | 012c5bd8bad51aad0b277e2f80e20db40f549411 (diff) | |
download | patchwork-498a8eeaa6c9d1dca8ab29a845325cff1463e815.tar patchwork-498a8eeaa6c9d1dca8ab29a845325cff1463e815.tar.gz |
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
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -43,7 +43,12 @@ deps = flake8 commands = flake8 {posargs} patchwork patchwork/bin/pwclient [flake8] -ignore = E129, F405 +# Some rules are ignored as their use makes the code more difficult to read: +# +# E129 visually indented line with same indent as next logical line +# F405 'name' may be undefined, or defined from star imports: 'module' +# W504 line break after binary operator +ignore = E129, F405, W504 exclude = ./patchwork/migrations [testenv:docs] |