Skip to content

fix(ci): restore green Lint + mypy on main#29

Merged
tachyon-beep merged 1 commit into
mainfrom
fix/ci-green-legis-lint
Jun 5, 2026
Merged

fix(ci): restore green Lint + mypy on main#29
tachyon-beep merged 1 commit into
mainfrom
fix/ci-green-legis-lint

Conversation

@tachyon-beep

Copy link
Copy Markdown
Collaborator

Main's Lint + Format and Types (mypy strict) jobs have been red since the legis merge (931aed8), independent of the security PRs. This restores green:

Formatting + ignore-code only; no logic changes. Full suite 2406 passed; ruff check src tests, ruff format --check src tests, and bare mypy all green locally.

🤖 Generated with Claude Code

Two CI jobs (`ruff format --check src tests`, bare `mypy`) were red on main.
Causes were pre-existing/mechanical, not behavioural:

- `ruff format`: `src/wardline/core/legis.py` + `tests/conformance/test_legis_intake_contract.py`
  (from the legis merge 948daa4) and `src/wardline/core/judged.py` +
  `tests/unit/cli/test_cli.py` (from #28) were never `ruff format`-reflowed.
- `mypy`: `tests/unit/core/test_legis_artifact.py:175` carried a stale
  `# type: ignore[arg-type]` for a `subprocess.run(cwd=<object>)` call mypy now
  reports as `call-overload`; corrected the ignore code.

Formatting-only + an ignore-code correction; no logic changes. Full suite 2406
passed, ruff check/format + mypy strict all green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tachyon-beep tachyon-beep merged commit 3342363 into main Jun 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant