mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
Pass arglist to first parse_args call for testing
This commit is contained in:
parent
3a490971b2
commit
51bfc6a5b1
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ def aggregate_options(manager, arglist=None, values=None):
|
|||
default_values, _ = manager.parse_args([], values=values)
|
||||
# Get original CLI values so we can find additional config file paths and
|
||||
# see if --config was specified.
|
||||
original_values, original_args = manager.parse_args()
|
||||
original_values, original_args = manager.parse_args(arglist)
|
||||
extra_config_files = utils.normalize_paths(original_values.append_config)
|
||||
|
||||
# Make our new configuration file mergerator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue