Commit 0a01375
refactor: wave 6 — ratchet mypy coverage, link clean-code standard (#53)
Polish pass closing out the refactor series.
pyproject.toml
--------------
- Drop skillforge/engine/scorer.py from the mypy exclusion list. After
Wave 2's logging cleanup it now type-checks clean at the default
level. Mypy now covers 65 source files (up from 64).
CLAUDE.md
---------
- Add docs/clean-code.md to the Key Reference Documents list.
- Expand the Code Style TL;DR with the five load-bearing rules the
refactor waves actually enforced (no bare except, no print in
library code, no mutable module globals, no raw fetch in React
components, file-size ceilings) so the standard is discoverable
from the project root.
QA
--
ruff check skillforge - clean
mypy skillforge - 65 files pass
pytest tests/ - 403 passed, 2 skipped
frontend build/lint/test - all green
Co-authored-by: Matt (via Claude Code) <matt@skillforge.local>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 22d03a8 commit 0a01375
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| 185 | + | |
184 | 186 | | |
185 | 187 | | |
186 | 188 | | |
187 | | - | |
| 189 | + | |
188 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
189 | 196 | | |
190 | 197 | | |
191 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
0 commit comments