A pre-commit hook for zizmor.
Distributed as a standalone repository to enable installing zizmor via prebuilt wheels from
PyPI.
To run zizmor via pre-commit, add the following to your .pre-commit-config.yaml:
repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
# Zizmor version.
rev: v1.17.0
hooks:
# Run the linter.
- id: zizmorImportant
Starting with v1.17.0, the default behavior of the hook changed from collecting
a specific set of YAML inputs (within pre-commit itself) to allowing zizmor to
discover inputs internally. This is both faster and more consistent with how
zizmor expects to be invoked, but it may be a breaking change for some users
who have explicitly configured inputs.
See zizmor-pre-commit#22 for additional information.
zizmor-pre-commit is licensed under:
- MIT license (LICENSE or https://opensource.org/licenses/MIT)