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 | 32ebb4fa55ae49f28ab7aa175b6519db21d42dbb (patch) | |
| tree | ef432c2fd4bce142d7dc0153c8c416413ecfb4b5 /src/flake8/api | |
| parent | 55ef2c6f5eae1617dcbbb51636e9280aa8870e02 (diff) | |
| download | flake8-32ebb4fa55ae49f28ab7aa175b6519db21d42dbb.tar.gz | |
application: Pass prelim opts and args to `.make_config_finder()`
Now that `.parse_preliminary_options_and_args()` returns options and
arguments, the boolean for appending configuration and the arguments can
be threaded through to the creation of the `ConfigFileFinder`.
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 6cff7ad..b680346 100644 --- a/src/flake8/api/legacy.py +++ b/src/flake8/api/legacy.py @@ -32,7 +32,7 @@ def get_style_guide(**kwargs): [] ) flake8.configure_logging(prelim_opts.verbose, prelim_opts.output_file) - application.make_config_finder() + application.make_config_finder(prelim_opts.append_config, prelim_args) application.find_plugins() application.register_plugin_options() application.parse_configuration_and_cli([]) |
