Recreate file_checker_manager since it has references to old style_guide/formatter.

This commit is contained in:
Philip Witty 2016-12-15 11:30:10 +00:00
parent 348722d77b
commit 55fbdec61c

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.