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
commitc9ee7976fe1c1126c1a6f8e23b0f8fc68c091e6f (patch)
treeb80401ef195dcf55241f78368ac69e7ce3cab8a7 /setup.cfg
parent41764840dd36f9e7ea5bdfa67f177c66c8a95c6c (diff)
downloadpython-coveragepy-c9ee7976fe1c1126c1a6f8e23b0f8fc68c091e6f.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 ee30a34..5e19bd2 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