Skip to content

Commit 4cd0d31

Browse files
nanotaboadaclaude
andcommitted
chore(claude): fix coverage threshold and pre-release steps (#554)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 791085d commit 4cd0d31

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.claude/commands/pre-commit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Run the pre-commit checklist for this project:
77
changes made, referencing the issue number.
88
2. Run `uv run flake8 .` — must pass.
99
3. Run `uv run black --check .` — must pass (run `uv run black .` to auto-fix).
10-
4. Run `uv run pytest --cov=./ --cov-report=term` — all tests must pass, coverage must be ≥80%.
10+
4. Run `uv run pytest --cov=./ --cov-report=term --cov-fail-under=80` — all tests must pass, coverage must be ≥80%.
1111
5. If `coderabbit` CLI is installed, run `coderabbit review --type uncommitted --prompt-only`:
1212
- If actionable/serious findings are reported, stop and address them before proposing the commit.
1313
- If only nitpick-level findings, report them and continue to the commit proposal.

.claude/commands/pre-release.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ open PRs, or create tags until I explicitly confirm.
6363

6464
5. **Propose commit**: `docs(changelog): release vX.Y.Z Codename`
6565

66-
6. **After confirmation**: commit. Then run steps 2–4 of `/pre-commit` (linting,
67-
formatting, tests — the CHANGELOG step is already handled). Push the branch
68-
and open a PR into `master` only once all checks pass.
66+
6. **After confirmation**: commit. Then run steps 2–5 of `/pre-commit` (linting,
67+
formatting, tests, CodeRabbit review — the CHANGELOG step is already handled).
68+
Push the branch and open a PR into `master` only once all checks pass.
6969

7070
---
7171

0 commit comments

Comments
 (0)