Skip to content

ci: Pin Ruff to 0.17.2 - #430

Merged
vincent-pochet merged 1 commit into
mainfrom
fix/pin-ruff-version
Oct 27, 2026
Merged

vincent-pochet merged 1 commit into
mainfrom
fix/pin-ruff-version

Conversation

@vincent-pochet

Copy link
Copy Markdown
Contributor

Context

The Ruff workflow installs the latest Ruff release on every run, and pyproject.toml enables preview rules. Ruff 0.17.3, released today, adds the preview rule shared-clock-mock, which flags the time.sleep patches in tests/test_rate_limit.py. Ruff now fails on main and on every open PR with no code change.

Description

  • Pin both Ruff steps of .github/workflows/ruff.yml to 0.17.2, the last release that passes.

Moving to a newer Ruff becomes a deliberate bump, with any new preview findings fixed in the same PR.

🤖 Generated with Claude Code

Ruff 0.17.3 ships the preview rule shared-clock-mock, enabled here by
preview = true, which fails on tests/test_rate_limit.py. The action
installed the latest release on every run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vincent-pochet
vincent-pochet merged commit b0667f9 into main Oct 27, 2026
7 checks passed
@vincent-pochet
vincent-pochet deleted the fix/pin-ruff-version branch October 27, 2026 16:33
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