Skip to content
Projetos

zizmorcore/zizmor-pre-commit

Ver no GitHub

Sobre

A pre-commit hook for zizmor.

Segurança e privacidade

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
+1
em 7 dias
+3
em 15 dias
+3
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

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.33.1
  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.33.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)

License

zizmor-pre-commit is licensed under:

Explore projetos relacionados

Carregando…