summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorEd Morley <edmorley@users.noreply.github.com>2017-06-02 18:30:19 +0100
committerEd Morley <edmorley@users.noreply.github.com>2017-06-02 18:31:18 +0100
commitd7396604d0718012336ed6c9201e91a71cb323a9 (patch)
treed3f9b4ca5791686613d333e2e87c382e15f636ce /setup.cfg
parent455782a461d2fc4e44f9f35a05e9704062b2597f (diff)
downloadisort-d7396604d0718012336ed6c9201e91a71cb323a9.tar.gz
Increase flake8 coverage
Enables more of flake8's default rules and makes CI check all files, not just a subset. Also pins the version of flake8 to avoid CI non-determinism when newer versions add/adjust the default rules. The `# noqa: F401` entries in `pie_slice.py` are required due to: https://github.com/PyCQA/pyflakes/issues/276
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg8
1 files changed, 7 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 85548bf5..4ec6f561 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,5 +2,11 @@
universal = 1
[flake8]
-ignore = F401,F403,E502,E123,E127,E128,E303,E713,E111,E241,E302,E121,E261,W391
max-line-length = 160
+ignore =
+ # The default ignore list:
+ E121,E123,E126,E226,E24,E704,
+ # Our additions:
+ # E127: continuation line over-indented for visual indent
+ # E128: continuation line under-indented for visual indent
+ E127,E128