mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 00:14:46 +00:00
combine local_plugin_paths and parse_plugin_options
This commit is contained in:
parent
2b08d57ac4
commit
c194d6cc30
6 changed files with 71 additions and 56 deletions
|
|
@ -90,8 +90,8 @@ def mock_file_checker_with_plugin(plugin_target):
|
|||
),
|
||||
),
|
||||
]
|
||||
opts = finder.PluginOptions(frozenset())
|
||||
plugins = finder.load_plugins(to_load, [], opts)
|
||||
opts = finder.PluginOptions.blank()
|
||||
plugins = finder.load_plugins(to_load, opts)
|
||||
|
||||
# Prevent it from reading lines from stdin or somewhere else
|
||||
with mock.patch(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue