mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
Do not exit early if style checks pass
This commit is contained in:
parent
247877b7c5
commit
236e0f0ea1
1 changed files with 2 additions and 1 deletions
|
|
@ -32,7 +32,8 @@ def main():
|
|||
report = flake8_style.check_files()
|
||||
|
||||
exit_code = print_report(report, flake8_style)
|
||||
raise SystemExit(exit_code > 0)
|
||||
if exit_code > 0:
|
||||
raise SystemExit(exit_code > 0)
|
||||
|
||||
|
||||
def print_report(report, flake8_style):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue