mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 02:46:52 +00:00
Wrong exit code returned by the setuptools Flake8Command
This commit is contained in:
parent
015da9fabb
commit
a13bdad3d8
1 changed files with 1 additions and 1 deletions
|
|
@ -91,4 +91,4 @@ else:
|
|||
flake8_style = get_style_guide(config_file=DEFAULT_CONFIG)
|
||||
paths = self.distribution_files()
|
||||
report = flake8_style.check_files(paths)
|
||||
raise SystemExit(report.get_file_results() > 0)
|
||||
raise SystemExit(report.total_errors > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue