diff options
| author | Devin Doucette <[email protected]> | 2026-03-18 09:37:33 -0600 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-03-18 09:37:33 -0600 |
| commit | f88b1f82153d2043597c27534645d7b957179309 (patch) | |
| tree | 22b921e082bb5f70ef52275c37931de18f77f710 /CLAUDE.md | |
| parent | Add natvis for Compact Binary (#860) (diff) | |
| download | zen-f88b1f82153d2043597c27534645d7b957179309.tar.xz zen-f88b1f82153d2043597c27534645d7b957179309.zip | |
Allow pre-commit without it being in the PATH (#861)
Running through `python -m pre_commit` avoids the need to have the directory containing `pre-commit` in the PATH. This is preferable when the path is subject to change such as `%LocalAppData%\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages`.
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,10 +102,10 @@ zencore-test xmake precommit # Or use pre-commit directly -pre-commit run --all-files +python -m pre_commit run --all-files ``` -Install pre-commit hooks with `pre-commit install` to auto-format on commit. +Install pre-commit hooks with `python -m pre_commit install` to auto-format on commit. ### Cleaning Build State |