diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-03-26 04:08:17 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-03-26 04:08:17 +0200 |
commit | 5f70236ce8a70c0af301bbf4e3afd914c1cd1e3d (patch) | |
tree | 4233f8c25575f3881648fa56457208556d61ac42 | |
parent | 65c25cb5e30e6b274522f83548015aa1a3e1d508 (diff) | |
download | pep8-5f70236ce8a70c0af301bbf4e3afd914c1cd1e3d.tar.gz |
Correctly select all tests if DEFAULT_IGNORE == '' or False.
-rw-r--r-- | CHANGES.txt | 2 | ||||
-rwxr-xr-x | pep8.py | 2 |
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) ------------------ @@ -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: |