Skip to content

Commit 41d1855

Browse files
docs: add reminder to run ruff before every commit
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 995cde7 commit 41d1855

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ uv run pytest tests/unit/api/test_routers.py::test_get_specs
165165

166166
**Both linting and formatting must pass for CI.**
167167

168+
**IMPORTANT: Always run `uv run ruff check <files> && uv run ruff format <files>` on changed files BEFORE every commit!**
169+
168170
```bash
169171
# Linting (required for CI)
170172
uv run ruff check .
@@ -174,6 +176,9 @@ uv run ruff check . --fix
174176

175177
# Formatting (required for CI)
176178
uv run ruff format .
179+
180+
# Before committing - always run both on changed files:
181+
uv run ruff check <files> && uv run ruff format <files>
177182
```
178183

179184
### Frontend Development

0 commit comments

Comments
 (0)