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:
Ian Cordasco 2017-02-08 12:40:43 +00:00
commit a98ec12bc6

View file

@ -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.