summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2012-03-26 04:08:17 +0200
committerFlorent Xicluna <florent.xicluna@gmail.com>2012-03-26 04:08:17 +0200
commit5f70236ce8a70c0af301bbf4e3afd914c1cd1e3d (patch)
tree4233f8c25575f3881648fa56457208556d61ac42
parent65c25cb5e30e6b274522f83548015aa1a3e1d508 (diff)
downloadpep8-5f70236ce8a70c0af301bbf4e3afd914c1cd1e3d.tar.gz
Correctly select all tests if DEFAULT_IGNORE == '' or False.
-rw-r--r--CHANGES.txt2
-rwxr-xr-xpep8.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index fdea6b4..ed22263 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -23,6 +23,8 @@ Changelog
* Fix W602, accept ``raise`` with 3 arguments. (Issue #34)
+* Correctly select all tests if DEFAULT_IGNORE == ''.
+
0.6.1 (2010-10-03)
------------------
diff --git a/pep8.py b/pep8.py
index 25f0047..d41160e 100755
--- a/pep8.py
+++ b/pep8.py
@@ -1319,7 +1319,7 @@ def process_options(arglist=None):
elif options.select:
# Ignore all checks which are not explicitly selected
options.ignore = ['']
- elif options.testsuite or options.doctest:
+ elif options.testsuite or options.doctest or not DEFAULT_IGNORE:
# For doctest and testsuite, all checks are required
options.ignore = []
else: