mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
fixes for cfgv>=2
This commit is contained in:
parent
099f521b7e
commit
625750eeef
5 changed files with 17 additions and 13 deletions
|
|
@ -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',
|
||||
),
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue