pre-commit plugin for the asdf version manager.
- Needs at least python 3.6 or greater. You should check the version you have with :
readlink -f`command -v python3`
bash
,curl
, (linux only)sha256sum
: generic POSIX utilities.
The Pre commit hooks seem popular and I would like to use them in as may projects as I can. However, since it is python and we need pip to install, I would like to avoid that.
Further, since there is a convininent pyzip (pyz) I can use that. And combined with asdf-vm the versioning is much easier.
Plugin:
asdf plugin add pre-commit
# or
asdf plugin add https://github.com/comdotlinux/asdf-pre-commit.git
pre-commit:
# Show all installable versions
asdf list-all pre-commit
# Install specific version
asdf install pre-commit latest
# Set a version globally (on your ~/.tool-versions file)
asdf global pre-commit latest
# Now pre-commit commands are available
pre-commit -V
Check asdf readme for more instructions on how to install & manage versions.
Contributions of any kind welcome! See the contributing guide.
Thanks goes to these contributors!
See LICENSE © Guruprasad Kulkarni