Skip to content

ci(lint): check instead of format, add ruff; release notes drop the contributors block - #87

Merged
bsbodden merged 2 commits into
mainfrom
ci/lint-checks
Nov 16, 2026
Merged

bsbodden merged 2 commits into
mainfrom
ci/lint-checks

Conversation

@bsbodden

Copy link
Copy Markdown
Contributor

Two post-release hygiene items that should have shipped with 0.2.0.

make lint checks and never rewrites. It ran isort and black in write mode, so an unsorted import block passed CI (and surfaced only in the release job's own isort --check-only step), and no check caught an undefined name, which is how the NameError in #71's first CI run got through. lint now runs black --check, isort --check-only, mypy and ruff check --select F821,F401,F811 (undefined names, unused imports, redefinitions); make format still rewrites. ruff is added to the dev group; the 150 findings it reported on the existing tree are fixed in the first commit (unused imports, duplicate Mapping imports, four test annotations naming types only imported inside the function).

Release notes drop the Contributors block. release-drafter unions pull-request authors with commit authors, which listed the maintainer twice and dependabot twice in the v0.2.0 notes. The template is the categorised change list; a test pins that $CONTRIBUTORS is gone.

Full non-API suite: 2081 passed; make lint green.

Unused imports (F401) across the library and the tests, duplicate Mapping
imports in astar, router and utility (F811), and four test annotations
that named a type only imported inside the function (F821).
…ontributors block

make lint used to run the formatters in write mode, so an unsorted import
block passed CI and surfaced only in the release job's format step, and
nothing caught an undefined name. lint now runs black --check,
isort --check-only, mypy and ruff check --select F821,F401,F811 and never
rewrites; make format still does. The release-notes template drops the
Contributors block: release-drafter unions pull-request authors with
commit authors, which listed the maintainer twice and dependabot twice.
@github-actions github-actions Bot added the maintenance CI/build/tooling maintenance label Nov 16, 2026
@github-actions

Copy link
Copy Markdown

✅ Code Quality Report

Metric Score Status
MFCQI Score 0.8119271113098242 ✅ Good
Test Coverage 94% ✅ Good
Security Issues 0 ✅ Clean

Quality Gates

  • MFCQI Score: ✅ Minimum 0.75 (Current: 0.8119271113098242)
  • Test Coverage: ✅ Minimum 80% (Current: 94%)
  • Security: ✅ Zero vulnerabilities (Current: 0)

🎉 All quality gates passed! This PR maintains high code quality standards.

📊 View detailed MFCQI breakdown

Run uv run python -m mfcqi analyze langgoap locally to see detailed metrics breakdown.

@bsbodden
bsbodden merged commit 36d1356 into main Nov 16, 2026
20 checks passed
@bsbodden
bsbodden deleted the ci/lint-checks branch November 16, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance CI/build/tooling maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant