summaryrefslogtreecommitdiff
path: root/docutils/tox.ini
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-05 23:29:48 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-05 23:29:48 +0000
commit5d32cb4bd24a3bf8bb6ad7a3d2b9a8ac1573c55d (patch)
tree8babec14dec3fc2a2d025cf66d361df321d56d15 /docutils/tox.ini
parent764a86d8fc5d1483fa366531b339a7a48fc93366 (diff)
downloaddocutils-5d32cb4bd24a3bf8bb6ad7a3d2b9a8ac1573c55d.tar.gz
Avoid line break after binary operator.
Breaking before binary operators is the recommended style in PEP 8 (changed in April 2016). flake8 rule W504 git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9035 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/tox.ini')
-rw-r--r--docutils/tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/docutils/tox.ini b/docutils/tox.ini
index e40dc1d3a..5ac01704b 100644
--- a/docutils/tox.ini
+++ b/docutils/tox.ini
@@ -39,7 +39,8 @@ ignore =
# Use your own judgment; …"
W503, # line break before binary operator
- W504, # line break after binary operator
+ # this is the recommended style (changed on April 16th, 2016)
+
W605, # invalid escape sequence
F401, # 'foo' imported but unused
F841, # local variable 'foo' is assigned to but never used