mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
A framework for managing and maintaining multi-language pre-commit hooks.
Having a major.minor version of python in the shebangs, has the unwanted side effect of requiring an uninstallation and then reinstallation all the pre-commit hooks, once the system updates the python installation to a newer minor version, since it will not find the version which the shebangs specifies. To make matters worse the uninstallation of the hooks has to be manual since the script will not be able to run for the aforementioned reason. This change makes the python symlink with just the major version as the preferred choice over the major.minor version specified shebang. Signed-off-by: Antonio Gutierrez <chibby0ne@gmail.com> |
||
|---|---|---|
| .github | ||
| pre_commit | ||
| testing | ||
| tests | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .pre-commit-hooks.yaml | ||
| azure-pipelines.yml | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| requirements-dev.txt | ||
| setup.cfg | ||
| setup.py | ||
| tox.ini | ||
pre-commit
A framework for managing and maintaining multi-language pre-commit hooks.
For more information see: https://pre-commit.com/