flake8: Ignore McCabe for test_autoconfig_yml

See #4928
This commit is contained in:
Florian Bruhin 2019-10-20 22:43:56 +02:00
parent a33770d50e
commit e8fcb34ca1
1 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,8 @@ class TestEarlyInit:
@pytest.mark.parametrize('config_py', [True, 'error', False])
@pytest.mark.parametrize('invalid_yaml', ['42', 'list', 'unknown',
'wrong-type', False])
def test_autoconfig_yml(self, init_patch, config_tmpdir, caplog, args,
def test_autoconfig_yml(self, init_patch, config_tmpdir, # noqa: C901
caplog, args,
load_autoconfig, config_py, invalid_yaml):
"""Test interaction between config.py and autoconfig.yml."""
# Prepare files