Skip to content

ci: pin the ruff rule set - #6

Merged
nichinichisou0609 merged 1 commit into
empty-sekai:mainfrom
allium-review-bot:fix/pin-ruff-ruleset
Aug 29, 2026
Merged

nichinichisou0609 merged 1 commit into
empty-sekai:mainfrom
allium-review-bot:fix/pin-ruff-ruleset

Conversation

@allium-review-bot

Copy link
Copy Markdown

The workflow installs ruff unpinned, so ruff check python tests ran with
whatever rule set that version defaulted to. A newer ruff widened the default
and CI began reporting 184 findings across code that had not changed — the
test job now fails before pytest ever runs, on every branch including
main.

Select ruff's documented defaults (E4, E7, E9, F) explicitly. No
source changes are required: the tree is already clean under this rule set, so
this restores a green test job and makes the lint result reproducible across
ruff upgrades.

Widening the rule set later is then a deliberate change with its own diff,
rather than something an upgrade does silently.

The workflow installs ruff unpinned and `ruff check` ran with whatever rule
set that version defaulted to. A newer ruff widened the default, so CI started
reporting 184 findings across code that had not changed, and the test job
failed before pytest ever ran.

Select ruff's documented defaults explicitly. No source changes are required:
the tree is already clean under this rule set.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@nichinichisou0609
nichinichisou0609 merged commit 410f6d9 into empty-sekai:main Aug 29, 2026
9 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.

2 participants