mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 15:44:17 +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,6 +32,7 @@ def main():
|
||||||
report = flake8_style.check_files()
|
report = flake8_style.check_files()
|
||||||
|
|
||||||
exit_code = print_report(report, flake8_style)
|
exit_code = print_report(report, flake8_style)
|
||||||
|
if exit_code > 0:
|
||||||
raise SystemExit(exit_code > 0)
|
raise SystemExit(exit_code > 0)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue