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.26.1
hooks:
# Run the linter.
- id: zizmorTo autofix issues, set the following args:
repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
# Zizmor version.
rev: v1.26.1
hooks:
# Run the linter.
- id: zizmor
args: [--no-progress, --fix](--no-progress must be specified since that arg exists in the repo's hook configuration, and args overrides all existing args)
zizmor-pre-commit is licensed under:
- MIT license (LICENSE or https://opensource.org/licenses/MIT)