mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-15 08:44:46 +00:00
config: Remove args parameter from ConfigFileFinder.__init__
Now that `args` parameters is not being used, it is safe to remove from the constructor signature. Further work is required to evaluate and clean-up tearing out the threading-through of `args` from various callers and tests.
This commit is contained in:
parent
b3a31496b7
commit
584402fa1c
6 changed files with 15 additions and 17 deletions
|
|
@ -17,7 +17,7 @@ def optmanager():
|
|||
@pytest.fixture
|
||||
def config_finder():
|
||||
"""Generate a simple ConfigFileFinder."""
|
||||
return config.ConfigFileFinder('flake8', [], [])
|
||||
return config.ConfigFileFinder('flake8', [])
|
||||
|
||||
|
||||
def test_parse_cli_config(optmanager, config_finder):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue