From 18303732803208363384c07f216ce0acf8529d07 Mon Sep 17 00:00:00 2001 From: Daniel Parks Date: Thu, 11 Jun 2026 00:28:55 -0700 Subject: [PATCH] `prek`: Add zizmor. Fix typos when running against all files. --- .pre-commit-config.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 152ab8e..16e4f56 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,14 @@ repos: hooks: - id: typos args: [] - exclude: "target/" + exclude: "target/|matchgen_tests/most-html-entities\\.json" + - repo: https://github.com/zizmorcore/zizmor-pre-commit + rev: v1.25.2 + hooks: + - id: zizmor + args: + - "--no-progress" # https://github.com/zizmorcore/zizmor/issues/582 + - "--persona=pedantic" - repo: local hooks: - id: cargo clippy