mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 07:44:16 +00:00
config: Make ConfigFileFinder 'extra_config_files' parameter optional
This simplifies the number of required parameters needed for the `ConfigFileFinder` object throughout the various tests.
This commit is contained in:
parent
44d67e46f5
commit
eb6698c420
6 changed files with 17 additions and 22 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