diff options
-rw-r--r-- | CHANGES.txt | 2 | ||||
-rw-r--r-- | README.rst | 2 | ||||
-rwxr-xr-x | pep8.py | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 7d00de3..d098ed5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -5,6 +5,8 @@ Changelog 0.6.2 UNRELEASED ---------------- +* Allow to specify ``--max-line-length``. (Issue #36) + * Make the shebang more flexible. (Issue #26) * Add testsuite to the bundle. (Issue #25) @@ -109,7 +109,7 @@ Quick help is available on the command line:: error and set exit code to 1 if total is not null --benchmark measure processing speed --testsuite=dir run regression tests from dir - --max-line-length=n set to a higher value to relax pep8 line length + --max-line-length=n set maximum allowed line length (default 79) --doctest run doctest on myself Feedback @@ -1291,8 +1291,8 @@ def process_options(arglist=None): help="run regression tests from dir") parser.add_option('--max-line-length', type='int', metavar='n', default=MAX_LINE_LENGTH, - help="set to a higher value to relax pep8 " - "line length restictions") + help="set maximum allowed line length (default: %d)" % + MAX_LINE_LENGTH) parser.add_option('--doctest', action='store_true', help="run doctest on myself") options, args = parser.parse_args(arglist) |