From 1dbd8903d74a93ed696a0707cb45cce1bd383b44 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Sun, 10 Feb 2013 00:56:20 +0100 Subject: Release version 1.4.2 --- CHANGES.txt | 4 ++-- pep8.py | 2 +- testsuite/test_pep8.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index c8afd95..916d967 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,8 +2,8 @@ Changelog ========= -1.x (unreleased) ----------------- +1.4.2 (2013-02-10) +------------------ * Support AST checkers provided by third-party applications. diff --git a/pep8.py b/pep8.py index 188f37b..eff4864 100755 --- a/pep8.py +++ b/pep8.py @@ -45,7 +45,7 @@ W warnings 700 statements 900 syntax error """ -__version__ = '1.4.2a0' +__version__ = '1.4.2' import os import sys diff --git a/testsuite/test_pep8.py b/testsuite/test_pep8.py index 90ceef3..7b57781 100644 --- a/testsuite/test_pep8.py +++ b/testsuite/test_pep8.py @@ -137,7 +137,7 @@ def selftest(options): print("%s: %s" % (code, source)) else: count_failed += 1 - print("%s: %s:" % (__file__, error)) + print("%s: %s:" % (pep8.__file__, error)) for line in checker.lines: print(line.rstrip()) return count_failed, count_all @@ -165,6 +165,6 @@ if __name__ == '__main__': if len(sys.argv) > 1: sys.exit(pep8._main()) pep8style = StyleGuide(paths=[os.path.dirname(__file__)], ignore=None) - report = run_tests(pep8style, True, True) + report = run_tests(pep8style, doctest=True, testsuite=True) report.print_results() sys.exit(1 if report.total_errors else 0) -- cgit v1.2.1