zeek/doc/.pre-commit-config.yaml
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

19 lines
499 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
hooks:
- id: ruff-format
- id: ruff
args: [--fix]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: rst-directive-colons
stages: ["pre-commit"]
- id: rst-backticks
stages: ["pre-commit"]
exclude: 'scripts/builtin-plugins/Zeek_JavaScript/__load__.zeek.rst'