summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorEric N. Vander Weele <ericvw@gmail.com>2020-01-07 13:14:34 -0500
committerEric N. Vander Weele <ericvw@gmail.com>2020-01-07 13:14:34 -0500
commitc918e7249699ab91ccbd6d69a898d19aa009c971 (patch)
tree258f2692d8a214e48e792cdd72162d464916edc7 /tests/integration
parent3d546d448a22b131f42444657f0985b37b252097 (diff)
downloadflake8-c918e7249699ab91ccbd6d69a898d19aa009c971.tar.gz
Remove unused 'isolated' parameter
Now that `ConfigFileFinder.ignore_config_files` attribute is used everywhere and is constructed from the `--isolated` CLI option, the now unused `isolated` parameters can be safely removed.
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/test_aggregator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/test_aggregator.py b/tests/integration/test_aggregator.py
index 636b3d5..672c865 100644
--- a/tests/integration/test_aggregator.py
+++ b/tests/integration/test_aggregator.py
@@ -32,7 +32,7 @@ def test_aggregate_options_with_config(optmanager):
'E11,E34,E402,W,F', '--exclude', 'tests/*']
config_finder = config.ConfigFileFinder('flake8', [])
options, args = aggregator.aggregate_options(
- optmanager, config_finder, CLI_SPECIFIED_CONFIG, False, arguments)
+ optmanager, config_finder, CLI_SPECIFIED_CONFIG, arguments)
assert options.select == ['E11', 'E34', 'E402', 'W', 'F']
assert options.ignore == ['E123', 'W234', 'E111']
@@ -47,7 +47,7 @@ def test_aggregate_options_when_isolated(optmanager):
'flake8', [], ignore_config_files=True)
optmanager.extend_default_ignore(['E8'])
options, args = aggregator.aggregate_options(
- optmanager, config_finder, None, True, arguments)
+ optmanager, config_finder, None, arguments)
assert options.select == ['E11', 'E34', 'E402', 'W', 'F']
assert sorted(options.ignore) == [