mirror of https://github.com/zulip/zulip.git
Fix pep8 linter bug.
In this commit we fix the bug where pep8 linter does not report false and exit when we got linting issues.
This commit is contained in:
parent
d3df4307d3
commit
24b1efc74e
|
@ -109,6 +109,7 @@ def check_pep8(files):
|
|||
if not len(filtered_files_E261) == 0:
|
||||
# Adding an extra ignore rule for these files since they still remain in
|
||||
# violation of PEP-E261.
|
||||
failed = run_pycodestyle(filtered_files_E261, ignored_rules + ['E261'])
|
||||
if not failed:
|
||||
failed = run_pycodestyle(filtered_files_E261, ignored_rules + ['E261'])
|
||||
|
||||
return failed
|
||||
|
|
Loading…
Reference in New Issue