mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-13 16:14:18 +00:00
Set-up and stop our formatter
Without calling start and stop, our output file is not used by our Formatters and any formatting plugins. Related #180
This commit is contained in:
parent
fc035c4df2
commit
559e08a09f
1 changed files with 2 additions and 0 deletions
|
|
@ -284,8 +284,10 @@ class Application(object):
|
||||||
# type: (Union[NoneType, List[str]]) -> NoneType
|
# type: (Union[NoneType, List[str]]) -> NoneType
|
||||||
self.initialize(argv)
|
self.initialize(argv)
|
||||||
self.run_checks()
|
self.run_checks()
|
||||||
|
self.formatter.start()
|
||||||
self.report_errors()
|
self.report_errors()
|
||||||
self.report_benchmarks()
|
self.report_benchmarks()
|
||||||
|
self.formatter.stop()
|
||||||
|
|
||||||
def run(self, argv=None):
|
def run(self, argv=None):
|
||||||
# type: (Union[NoneType, List[str]]) -> NoneType
|
# type: (Union[NoneType, List[str]]) -> NoneType
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue