summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-11-01 16:22:00 -0400
committerNed Batchelder <ned@nedbatchelder.com>2016-11-01 16:22:00 -0400
commitb3f1198035da5576416f2096ca5e0fa19ca5ccab (patch)
tree3f2f789af8f10983ae236719fb3e5dced766cdf3 /setup.cfg
parent47612250e00725dc182fe55e1867ebfc1b5d98bf (diff)
downloadpython-coveragepy-git-b3f1198035da5576416f2096ca5e0fa19ca5ccab.tar.gz
Move pycodestyle settings to setup.cfg
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index ee30a34b..5e19bd2b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,11 @@
[tool:pytest]
addopts = -q
+
+[pep8]
+# E265 block comment should start with '# '
+# E266 too many leading '#' for block comment
+# E301 expected 1 blank line, found 0
+# E401 multiple imports on one line
+# The rest are the default ignored warnings.
+ignore = E265,E266,E123,E133,E226,E241,E242,E301,E401
+max-line-length = 100