aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorgugug <gu.jin@99cloud.net>2020-05-17 18:18:00 +0800
committergugug <gu.jin@99cloud.net>2020-05-17 18:21:39 +0800
commit22f7aecbd9e9a9be0e67611f68fd5ff2fc4a4b8a (patch)
treee4121f53d9e88683625e08dc2329ea38c917c7df /tox.ini
parent50359204b48c2addf2f6bcf555cbe47e593b8803 (diff)
downloadkolla-ansible-22f7aecbd9e9a9be0e67611f68fd5ff2fc4a4b8a.tar.gz
kolla-ansible-22f7aecbd9e9a9be0e67611f68fd5ff2fc4a4b8a.zip
Enable W503 for flake8 check
W503 and W504 are incompatible and we need to choose one of them. Existing codes follows W503, so we disable W504. Change-Id: Ic745e956dd332eb0fa49b93c1e6acb12f8a7f26c
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 9f1b6c296..38a521b4e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -98,10 +98,10 @@ commands =
[flake8]
show-source = True
# NOTE: Default ignore list is *not* empty!
-# TODO: Enable either W503 or W504:
-# W503 line break before binary operator
# W504 line break after binary operator
-ignore = W503,W504
+# (W503 and W504 are incompatible and we need to choose one of them.
+# Existing codes follows W503, so we disable W504.):
+ignore = W504
exclude=.eggs,.git,.tox,doc
[testenv:lower-constraints]