refactor run_checks to not take an Optional list of filenames

This commit is contained in:
Anthony Sottile 2021-11-25 15:45:01 -05:00
parent 6e5600f8ec
commit 77a054688b
6 changed files with 18 additions and 22 deletions

View file

@ -293,7 +293,7 @@ def test_report_order(results, expected_order):
# Create a placeholder manager without arguments or plugins
# Just add one custom file checker which just provides the results
manager = checker.Manager(style_guide, [], [])
manager = checker.Manager(style_guide, [])
manager.checkers = manager._all_checkers = [file_checker]
# _handle_results is the first place which gets the sorted result