Skip to content

Commit 96ddf8c

Browse files
committed
Specify the default ignore list in the help options.
1 parent bc57ff0 commit 96ddf8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pep8.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,8 @@ def get_parser(prog='pep8', version=__version__):
18661866
parser.add_option('--select', metavar='errors', default='',
18671867
help="select errors and warnings (e.g. E,W6)")
18681868
parser.add_option('--ignore', metavar='errors', default='',
1869-
help="skip errors and warnings (e.g. E4,W)")
1869+
help="skip errors and warnings (e.g. E4,W) "
1870+
"(default: %s)" % DEFAULT_IGNORE)
18701871
parser.add_option('--show-source', action='store_true',
18711872
help="show source code for each error")
18721873
parser.add_option('--show-pep8', action='store_true',

0 commit comments

Comments
 (0)