An open API service indexing awesome lists of open source software.

https://github.com/zizmorcore/zizmor-pre-commit

A pre-commit hook for zizmor.
https://github.com/zizmorcore/zizmor-pre-commit

github-actions pre-commit pre-commit-hook security security-tools static-analysis zizmor

Last synced: 10 days ago
JSON representation

A pre-commit hook for zizmor.

Awesome Lists containing this project

README

          

# zizmor-pre-commit

[![image](https://img.shields.io/pypi/v/zizmor/1.21.0.svg)](https://pypi.python.org/pypi/zizmor)
[![image](https://img.shields.io/pypi/l/zizmor/1.21.0.svg)](https://pypi.python.org/pypi/zizmor)
[![Actions status](https://github.com/zizmorcore/zizmor-pre-commit/workflows/main/badge.svg)](https://github.com/zizmorcore/zizmor-pre-commit/actions)

A [pre-commit](https://pre-commit.com/) hook for [zizmor](https://github.com/zizmorcore/zizmor).

Distributed as a standalone repository to enable installing `zizmor` via prebuilt wheels from
[PyPI](https://pypi.org/project/zizmor/).

### Using zizmor with pre-commit

To run zizmor via pre-commit, add the following to your `.pre-commit-config.yaml`:

```yaml
repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
# Zizmor version.
rev: v1.21.0
hooks:
# Run the linter.
- id: zizmor
```

[zizmor-pre-commit#22]: https://github.com/zizmorcore/zizmor-pre-commit/issues/22

## License

zizmor-pre-commit is licensed under:

- MIT license ([LICENSE](LICENSE) or )