Skip to content

Commit 974748f

Browse files
committed
Update DEFAULT_IGNORE to add E121 & E126 per discussion in issues #256 #316
1 parent 42b686b commit 974748f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pep8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
from ConfigParser import RawConfigParser
6666

6767
DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__,.tox'
68-
DEFAULT_IGNORE = 'E123,E226,E24,E704'
68+
DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704'
6969
try:
7070
if sys.platform == 'win32':
7171
DEFAULT_CONFIG = os.path.expanduser(r'~\.pep8')

testsuite/test_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@ def parse_argv(argstring):
179179

180180
options = parse_argv('').options
181181
self.assertEqual(options.select, ())
182-
self.assertEqual(options.ignore, ('E123', 'E226', 'E24', 'E704'))
182+
self.assertEqual(
183+
options.ignore,
184+
('E121', 'E123', 'E126', 'E226', 'E24', 'E704')
185+
)
183186

184187
options = parse_argv('--doctest').options
185188
self.assertEqual(options.select, ())

0 commit comments

Comments
 (0)