Skip to content

Commit

Permalink
Ignore pep8 W503 E402 E241
Browse files Browse the repository at this point in the history
  • Loading branch information
Mich committed Mar 10, 2015
1 parent 89cd84e commit 21ac7a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion check.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def check_pyflakes(files):

def check_pep8(files):
print(">>> Running pep8...")
sg = pep8.StyleGuide(parse_argv=False, config_file=False)
sg = pep8.StyleGuide(parse_argv=False, config_file=False,
ignore="W503,E402,E241")
sg.options.repeat = True
sg.options.show_pep8 = True
report = sg.check_files(files)
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[pytest]
addopts = starcluster -xvs -rs --pep8 --flakes --clearcache
pep8ignore = W503 E402 E241

0 comments on commit 21ac7a0

Please sign in to comment.