Skip to content

Commit c5f75f5

Browse files
timsaucerclaude
andcommitted
Remove duplicated hook list from AGENTS.md
Let the hooks be discoverable from .pre-commit-config.yaml rather than maintaining a separate list that can drift. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0f60179 commit c5f75f5

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

AGENTS.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,14 @@ Every pull request must follow the template in
4949
## Pre-commit Checks
5050

5151
Always run pre-commit checks **before** committing. The hooks are defined in
52-
`.pre-commit-config.yaml` and include:
53-
54-
- **actionlint** — lint GitHub Actions workflow files
55-
- **ruff** — Python linter
56-
- **ruff-format** — Python formatter
57-
- **cargo fmt** — Rust formatter (nightly)
58-
- **cargo clippy** — Rust linter
59-
- **codespell** — spell checker
60-
- **uv-lock** — keep the uv lockfile in sync
61-
62-
Run all hooks with:
52+
`.pre-commit-config.yaml` and run automatically on `git commit` if pre-commit
53+
is installed as a git hook. To run all hooks manually:
6354

6455
```bash
6556
pre-commit run --all-files
6657
```
6758

68-
Or they will run automatically on `git commit` if pre-commit is installed as a
69-
git hook. Fix any failures before committing.
59+
Fix any failures before committing.
7060

7161
## Python Function Docstrings
7262

0 commit comments

Comments
 (0)