pregenerate the pycodestyle plugin to avoid call overhead

This commit is contained in:
Anthony Sottile 2022-01-25 13:30:36 -05:00
parent 1e5f861c52
commit 4e56fc0f6a
5 changed files with 255 additions and 37 deletions

View file

@ -104,7 +104,7 @@ def test_local_plugin_can_add_option(local_config):
args = aggregator.aggregate_options(option_manager, cfg, cfg_dir, argv)
assert args.extended_default_select == {"XE", "F", "E", "C90"}
assert args.extended_default_select == {"XE", "F", "E", "W", "C90"}
assert args.anopt == "foo"