fixes for cfgv>=2

This commit is contained in:
Anthony Sottile 2019-05-27 13:37:49 -07:00
parent 099f521b7e
commit 625750eeef
5 changed files with 17 additions and 13 deletions

View file

@ -133,7 +133,8 @@ def test_validate_warn_on_unknown_keys_at_repo_level(tmpdir, caplog):
(
'pre_commit',
logging.WARNING,
'Unexpected config key(s): args',
'Unexpected key(s) present on https://gitlab.com/pycqa/flake8: '
'args',
),
]
@ -155,7 +156,7 @@ def test_validate_warn_on_unknown_keys_at_top_level(tmpdir, caplog):
(
'pre_commit',
logging.WARNING,
'Unexpected config key(s): foo',
'Unexpected key(s) present at root: foo',
),
]