/lint — Code Quality Checks
Run all linting and report results.
Steps
- •Run
make lint(includes fmt-check + clippy + lint-makefile) - •Run
./scripts/lint-alpha.py --all(alphabetization check) - •Report combined results
What Gets Checked
| Tool | What It Checks |
|---|---|
cargo fmt --check | Rust code formatting |
cargo clippy -D warnings | Rust linting (warnings = errors) |
lint-makefile | Makefile target alphabetization |
lint-alpha.py | Match arms, mod decls, Cargo.toml deps, Python class members |
Auto-Fix
If linting fails due to formatting:
- •Run
make fmtto auto-fix - •Re-run
make lintto verify - •Report what was fixed