You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run pre-commit run --all-files I get an error because the Talisman executable is not found. This is unconventional for a pre-commit hook. It says in the docs:
pre-commit currently supports hooks written in many languages. As long as your git repo is an installable package (gem, npm, pypi, etc.) or exposes an executable, it can be used with pre-commit.
Talisman is not installable with one of the supported package managers and it doesn't expose the binary because it assumes you already have it installed, which is not the way pre-commit hooks are supposed to work.
Describe the bug
When I run
pre-commit run --all-files
I get an error because the Talisman executable is not found. This is unconventional for apre-commit
hook. It says in the docs:source
Talisman is not installable with one of the supported package managers and it doesn't expose the binary because it assumes you already have it installed, which is not the way
pre-commit
hooks are supposed to work.To Reproduce
Steps to reproduce the behavior:
.pre-commit-config.yaml
with:pre-commit run --all-files
(or commit something to trigger pre-commit)Expected behavior
pre-commit
works as intended and executes talisman and exit 0 (if no secrets are found) as expected behavior of pre-comimtScreenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: