diff options
| author | Eric N. Vander Weele <ericvw@gmail.com> | 2019-10-01 08:48:18 +0200 |
|---|---|---|
| committer | Eric N. Vander Weele <ericvw@gmail.com> | 2019-10-01 08:48:18 +0200 |
| commit | 95a88e3fcd84f45eb6c0869cb095ea9089dfed44 (patch) | |
| tree | 5f5167c8c915def5bf468fdc52e93dfe1e3b32e1 /src/flake8/api | |
| parent | 32ebb4fa55ae49f28ab7aa175b6519db21d42dbb (diff) | |
| download | flake8-95a88e3fcd84f45eb6c0869cb095ea9089dfed44.tar.gz | |
application: Pass prelim opts to `.find_plugins()`
The configuration file and boolean to ignore configuration files can be
threaded through now that `.parse_preliminary_options_and_args()`
returns options and arguments.
Diffstat (limited to 'src/flake8/api')
| -rw-r--r-- | src/flake8/api/legacy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/api/legacy.py b/src/flake8/api/legacy.py index b680346..a620930 100644 --- a/src/flake8/api/legacy.py +++ b/src/flake8/api/legacy.py @@ -33,7 +33,7 @@ def get_style_guide(**kwargs): ) flake8.configure_logging(prelim_opts.verbose, prelim_opts.output_file) application.make_config_finder(prelim_opts.append_config, prelim_args) - application.find_plugins() + application.find_plugins(prelim_opts.config, prelim_opts.isolated) application.register_plugin_options() application.parse_configuration_and_cli([]) # We basically want application.initialize to be called but with these |
