summaryrefslogtreecommitdiff
path: root/src/flake8/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/flake8/api')
-rw-r--r--src/flake8/api/legacy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flake8/api/legacy.py b/src/flake8/api/legacy.py
index 142acd6..e9d5630 100644
--- a/src/flake8/api/legacy.py
+++ b/src/flake8/api/legacy.py
@@ -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.