mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
Merge branch 'legacy_api_custom_formatter' into 'master'
Make init_report in legacy_api correctly replace all references to old formatter. See merge request !161
This commit is contained in:
commit
a98ec12bc6
1 changed files with 2 additions and 0 deletions
|
|
@ -127,6 +127,8 @@ class StyleGuide(object):
|
|||
# Application#make_guide but it works pretty well.
|
||||
# Stop cringing... I know it's gross.
|
||||
self._application.make_guide()
|
||||
self._application.file_checker_manager = None
|
||||
self._application.make_file_checker_manager()
|
||||
|
||||
def input_file(self, filename, lines=None, expected=None, line_offset=0):
|
||||
"""Run collected checks on a single file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue