From e892e942dc686dd7a0825755a7bbc3d657fdcdfe Mon Sep 17 00:00:00 2001 From: Max R Date: Mon, 11 May 2026 15:14:01 -0400 Subject: [PATCH] Document autofixing behavior Resolves #29 --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index d0799f1..b149afc 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,21 @@ repos: - id: zizmor ``` +To autofix issues, set the following args: + +```yaml +repos: +- repo: https://github.com/zizmorcore/zizmor-pre-commit + # Zizmor version. + rev: v1.24.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) + [zizmor-pre-commit#22]: https://github.com/zizmorcore/zizmor-pre-commit/issues/22 ## License