Repository navigation
ci(lint): check instead of format, add ruff; release notes drop the contributors block - #87
Merged
Merged
Conversation
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.
✅ Code Quality Report
Quality Gates
🎉 All quality gates passed! This PR maintains high code quality standards. 📊 View detailed MFCQI breakdownRun |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two post-release hygiene items that should have shipped with 0.2.0.
make lintchecks and never rewrites. It ranisortandblackin write mode, so an unsorted import block passed CI (and surfaced only in the release job's ownisort --check-onlystep), and no check caught an undefined name, which is how theNameErrorin #71's first CI run got through.lintnow runsblack --check,isort --check-only, mypy andruff check --select F821,F401,F811(undefined names, unused imports, redefinitions);make formatstill 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, duplicateMappingimports, 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
$CONTRIBUTORSis gone.Full non-API suite: 2081 passed;
make lintgreen.