You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lint: resolve pre-existing Ruff violations in scripts/, tests/, and pythonlings/ #132
These stay unfixed today, so when #124 flips lint from advisory to blocking, CI goes red immediately.
Proposed Behavior
Run ruff check scripts tests pythonlings --fix + ruff format for the auto-fixable subset.
Hand-fix the rest (long strings/comments that format can't touch).
Land as one or two focused PRs targeting dev (e.g. one for tests/, one for scripts/ + pythonlings/), each keeping CI green and tests passing (python -m pytest -q).
Acceptance: the command above reports 0 errors.
checks/ (curriculum) stays out of scope — separate discussion.
Alternatives Considered
Fix repo-wide including checks/: touches learner-facing teaching files and bloats diffs; the curriculum needs its own maintainer decision.
Split by rule type: same files hit by multiple rules would scatter the work across PRs and cause conflicts.
Completed in #170 on dev (075fdb59b4950908b0ec93367ae3d8dfb4def642). Ruff 0.16.4 reports zero lint errors and no formatting differences for pythonlings/, scripts/, and tests/ outside intentionally invalid fixtures. The prior 178 violations are resolved. All 253 tests, passing-curriculum verification, packaging and installed-wheel checks, documentation output equivalence, and all eight hosted CI jobs passed. Curriculum sources are unchanged.
Activity
abhiksark commentedon Nov 5, 2026
Completed in #170 on dev (
075fdb59b4950908b0ec93367ae3d8dfb4def642). Ruff 0.16.4 reports zero lint errors and no formatting differences for pythonlings/, scripts/, and tests/ outside intentionally invalid fixtures. The prior 178 violations are resolved. All 253 tests, passing-curriculum verification, packaging and installed-wheel checks, documentation output equivalence, and all eight hosted CI jobs passed. Curriculum sources are unchanged.style: establish the production Ruff baseline (#170)