Skip to content

Commit

Permalink
Add W503 to default ignore list
Browse files Browse the repository at this point in the history
Closes PyCQA#498
  • Loading branch information
sigmavirus24 committed Apr 20, 2016
1 parent eae54ff commit 27d6384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
__version__ = '1.8.0-dev'

DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__,.tox'
DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704'
DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704,W503'
try:
if sys.platform == 'win32':
USER_CONFIG = os.path.expanduser(r'~\.pep8')
Expand Down
2 changes: 1 addition & 1 deletion testsuite/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def parse_argv(argstring):
self.assertEqual(options.select, ())
self.assertEqual(
options.ignore,
('E121', 'E123', 'E126', 'E226', 'E24', 'E704')
('E121', 'E123', 'E126', 'E226', 'E24', 'E704', 'W503')
)

options = parse_argv('--doctest').options
Expand Down

0 comments on commit 27d6384

Please sign in to comment.