Linting and Type-Checking
Load dev/checking.md for detailed guidance on fixing errors.
Procedure
- Run
make check-fix(auto-fixes formatting and simple issues) - Run
make check- must pass - Run
make check-strict-all- must pass - If errors occur, fix them using guidance from
dev/checking.md - Repeat until both check commands pass
Output Format
## Linting & Type-Checking Results
- `make check`: PASS/FAIL
- `make check-strict-all`: PASS/FAIL
- Errors fixed: <count and brief list>
### Lessons Learned
<Patterns discovered while fixing issues — things future agents should know>
<If none, write "None">
Always include Lessons Learned, even if empty. When running as a sub-agent, the main agent needs this for the PR description.
Examples of lessons learned:
- "Discovered that
Optional[X]is required for all nullable parameters with --strict" - "Class variables need explicit type annotations even when assigned immediately"
- "Import ordering: stdlib → third-party → local, with blank lines between groups"
Exit Conditions
- Success: Both
make checkandmake check-strict-allpass - Failure: Report remaining errors clearly
Converted and distributed by TomeVault — claim your Tome and manage your conversions.