mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
include the configured value in the language_version / additional_dependencies error
This commit is contained in:
parent
98b9b70aa4
commit
2188c0fd2c
2 changed files with 8 additions and 4 deletions
|
|
@ -88,7 +88,9 @@ def test_assert_no_additional_deps():
|
|||
helpers.assert_no_additional_deps('lang', ['hmmm'])
|
||||
msg, = excinfo.value.args
|
||||
assert msg == (
|
||||
'For now, pre-commit does not support additional_dependencies for lang'
|
||||
'for now, pre-commit does not support additional_dependencies for '
|
||||
'lang -- '
|
||||
"you selected `additional_dependencies: ['hmmm']`"
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue