summaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg8
1 files changed, 3 insertions, 5 deletions
diff --git a/setup.cfg b/setup.cfg
index d29572da..e183d323 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -100,10 +100,8 @@ jenkins_jobs.modules =
zuul=jenkins_jobs.modules.zuul:Zuul
[flake8]
-# These are ignored intentionally in openstack-infra projects; please
-# don't submit patches that solely correct them or enable them.
-# W504 is controversial an apparently conflicting with W503, being impossible
-# to solve both of them while still keeping the line length limited.
-ignore = E125,E128,H,W504
+# Based on https://ljvmiranda921.github.io/notebook/2018/06/21/precommits-using-black-and-flake8/
+ignore = E125,E128,E203,E501,H,W504,W503
show-source = True
exclude = .virtualenv,.venv,.tox,dist,build,*.egg,.test
+max-line-length = 88