combine local_plugin_paths and parse_plugin_options

This commit is contained in:
Anthony Sottile 2022-01-18 20:54:23 -05:00
parent 2b08d57ac4
commit c194d6cc30
6 changed files with 71 additions and 56 deletions

View file

@ -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(