mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 13:06:53 +00:00
refactor run_checks to not take an Optional list of filenames
This commit is contained in:
parent
6e5600f8ec
commit
77a054688b
6 changed files with 18 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue