mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-02 03:46:53 +00:00
Add parameter for missing extra config file
This commit is contained in:
parent
9231aae1d6
commit
de96b24bad
1 changed files with 7 additions and 0 deletions
|
|
@ -93,6 +93,13 @@ def test_generate_possible_local_config_files(args, expected):
|
|||
[os.path.abspath('setup.cfg'),
|
||||
os.path.abspath('tox.ini'),
|
||||
os.path.abspath(CLI_SPECIFIED_FILEPATH)]),
|
||||
# Common prefix of "flake8/" with missing extra config files specified
|
||||
(['flake8/'],
|
||||
[CLI_SPECIFIED_FILEPATH,
|
||||
'tests/fixtures/config_files/missing.ini'],
|
||||
[os.path.abspath('setup.cfg'),
|
||||
os.path.abspath('tox.ini'),
|
||||
os.path.abspath(CLI_SPECIFIED_FILEPATH)]),
|
||||
])
|
||||
def test_local_config_files(args, extra_config_files, expected):
|
||||
"""Verify discovery of local config files."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue