zizmorcore/zizmor-pre-commit

A pre-commit hook for zizmor.

65

stars

590

commits

Python

primary language

Aug 30, 2026

updated

docs.zizmor.sh/integrations/#pre-commit
github-actions
pre-commit
pre-commit-hook
security
security-tools
static-analysis
zizmor
Browse cluster: Secret Detection & Data Leak Prevention

README

zizmor-pre-commit

image image Actions status

A pre-commit hook for zizmor.

Distributed as a standalone repository to enable installing zizmor via prebuilt wheels from PyPI.

Using zizmor with pre-commit

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.29.0
  hooks:
    # Run the linter.
    - id: zizmor

To autofix issues, set the following args:

repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
  # Zizmor version.
  rev: v1.29.0
  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)

License

zizmor-pre-commit is licensed under:

Contributors

(top 30 of 31)

charliermarsh

73 commits

woodruffw

46 commits

graingert

37 commits

zizmorcore/zizmor-pre-commit

A pre-commit hook for zizmor.

65

stars

590

commits

Python

primary language

Aug 30, 2026

updated

docs.zizmor.sh/integrations/#pre-commit
github-actions
pre-commit
pre-commit-hook
security
security-tools
static-analysis
zizmor
Browse cluster: Secret Detection & Data Leak Prevention

README

zizmor-pre-commit

image image Actions status

A pre-commit hook for zizmor.

Distributed as a standalone repository to enable installing zizmor via prebuilt wheels from PyPI.

Using zizmor with pre-commit

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.29.0
  hooks:
    # Run the linter.
    - id: zizmor

To autofix issues, set the following args:

repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
  # Zizmor version.
  rev: v1.29.0
  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)

License

zizmor-pre-commit is licensed under:

Contributors

(top 30 of 31)

charliermarsh

73 commits

woodruffw

46 commits

graingert

37 commits

Languages

Python

100.0%