summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorEric N. Vander Weele <ericvw@gmail.com>2020-01-12 16:03:03 -0800
committerEric N. Vander Weele <ericvw@gmail.com>2020-01-12 23:28:52 -0500
commiteb6698c420bc62e4069377f8112c96893d30dd85 (patch)
treeb78f9607faac7419731829536970f402b7405ce2 /tests/integration
parent44d67e46f5ebe6bc458fe7b18a7b8821e7b2391e (diff)
downloadflake8-eb6698c420bc62e4069377f8112c96893d30dd85.tar.gz
config: Make ConfigFileFinder 'extra_config_files' parameter optional
This simplifies the number of required parameters needed for the `ConfigFileFinder` object throughout the various tests.
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/test_aggregator.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/integration/test_aggregator.py b/tests/integration/test_aggregator.py
index 16ed59b..2bdea70 100644
--- a/tests/integration/test_aggregator.py
+++ b/tests/integration/test_aggregator.py
@@ -32,7 +32,6 @@ def test_aggregate_options_with_config(optmanager):
'E11,E34,E402,W,F', '--exclude', 'tests/*']
config_finder = config.ConfigFileFinder(
'flake8',
- [],
config_file=CLI_SPECIFIED_CONFIG)
options, args = aggregator.aggregate_options(
optmanager, config_finder, arguments)
@@ -47,7 +46,7 @@ def test_aggregate_options_when_isolated(optmanager):
arguments = ['flake8', '--select', 'E11,E34,E402,W,F',
'--exclude', 'tests/*']
config_finder = config.ConfigFileFinder(
- 'flake8', [], ignore_config_files=True)
+ 'flake8', ignore_config_files=True)
optmanager.extend_default_ignore(['E8'])
options, args = aggregator.aggregate_options(
optmanager, config_finder, arguments)