summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-10 07:35:26 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-10 07:35:26 -0400
commit8f3e7d8b69a145304c212925b260659b5a706304 (patch)
tree13bdcac6a1cf1c6b10ef1d5ed02b65141a199d9f
parent95b4df5cbbc474b3cd90adbbdbdbf70ae89001f1 (diff)
downloadpython-coveragepy-8f3e7d8b69a145304c212925b260659b5a706304.tar.gz
Fix the pep8 settings.
-rw-r--r--Makefile2
-rw-r--r--tox.ini4
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 67fd6f0..233be41 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ spell:
-pylint --disable=all --enable=spelling $(LINTABLE)
pep8:
- pep8 --filename=*.py --ignore=E401,E301 --repeat $(LINTABLE)
+ pep8 --filename=*.py --repeat $(LINTABLE)
test:
tox -e py27 $(ARGS)
diff --git a/tox.ini b/tox.ini
index 7e55bc4..355ca7d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -49,6 +49,8 @@ basepython = pypy3-2.4
# Yes, pep8 will read its settings from tox.ini!
[pep8]
# E265: block comment should start with '# '
+# E301 expected 1 blank line, found 0
+# E401 multiple imports on one line
# The rest are the default ignored warnings.
-ignore = E265,E123,E133,E226,E241,E242
+ignore = E265,E123,E133,E226,E241,E242,E301,E401
max-line-length = 100