mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-15 16:49:52 +00:00
Fix issue #39.
This commit is contained in:
parent
da2b0b8a43
commit
1fd8b66174
2 changed files with 4 additions and 2 deletions
|
|
@ -19,4 +19,5 @@ Contributors (by order of appearance) :
|
||||||
- Marc Labbé
|
- Marc Labbé
|
||||||
- Bruno Miguel Custódio
|
- Bruno Miguel Custódio
|
||||||
- Florent Xicluna
|
- Florent Xicluna
|
||||||
- Austin Morton
|
- Austin Morton
|
||||||
|
- Michael McNeil Forbes
|
||||||
|
|
|
||||||
|
|
@ -134,4 +134,5 @@ class Flake8Command(setuptools.Command):
|
||||||
# Run the checkers
|
# Run the checkers
|
||||||
report = flake8_style.check_files()
|
report = flake8_style.check_files()
|
||||||
exit_code = print_report(report, flake8_style)
|
exit_code = print_report(report, flake8_style)
|
||||||
raise SystemExit(exit_code > 0)
|
if exit_code > 0:
|
||||||
|
raise SystemExit(exit_code > 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue