mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-11 15:24:18 +00:00
Remove unused 'cli_config' parameter
Now that `ConfigFileFinder.config_file` attribute is used everywhere and is constructed from the `--config` CLI option, the now unused `cli_config` parameters can be safely removed.
This commit is contained in:
parent
77b2506071
commit
1e3bad20dd
8 changed files with 19 additions and 35 deletions
|
|
@ -27,7 +27,7 @@ def test_get_local_plugins_uses_cli_config():
|
|||
config_file_value = 'foo.ini'
|
||||
config_finder.config_file = config_file_value
|
||||
|
||||
config.get_local_plugins(config_finder, cli_config=config_file_value)
|
||||
config.get_local_plugins(config_finder)
|
||||
|
||||
config_finder.cli_config.assert_called_once_with(config_file_value)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue