mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 00:14:46 +00:00
Merge branch 'master' into 'master'
Fixes #199: Report errors when run via setuptools. *Description of changes* *Related to:* (Add bug number here) See merge request !107
This commit is contained in:
commit
87c488b9cc
1 changed files with 5 additions and 0 deletions
|
|
@ -89,4 +89,9 @@ class Flake8(setuptools.Command):
|
||||||
def run(self):
|
def run(self):
|
||||||
"""Run the Flake8 application."""
|
"""Run the Flake8 application."""
|
||||||
self.flake8.run_checks(list(self.distribution_files()))
|
self.flake8.run_checks(list(self.distribution_files()))
|
||||||
|
self.flake8.formatter.start()
|
||||||
|
self.flake8.report_errors()
|
||||||
|
self.flake8.report_statistics()
|
||||||
|
self.flake8.report_benchmarks()
|
||||||
|
self.flake8.formatter.stop()
|
||||||
self.flake8.exit()
|
self.flake8.exit()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue