mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
hotfix: the user may be define an extra arguments for a removed hook
This commit is contained in:
parent
37d0e19fd8
commit
926208fb31
2 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ def test_always_fails():
|
|||
main((
|
||||
'autopep8-wrapper', 'autopep8',
|
||||
'https://github.com/pre-commit/mirrors-autopep8',
|
||||
'--foo', 'bar',
|
||||
))
|
||||
msg, = excinfo.value.args
|
||||
assert msg == (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue