Fixes #21497: Pin Ruff 0.15.2 and run CI via ruff-action #292

Closed
opened 2026-04-05 16:24:57 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pheus on 2/20/2026

Fixes #21497

This PR pins Ruff to v0.15.2 in both CI and pre-commit to avoid unexpected breakages from upstream releases.

  • Run Ruff in CI via astral-sh/ruff-action (pinned by SHA) instead of installing Ruff via pip
  • Align .pre-commit-config.yaml with the same Ruff version
  • Update the docs (release checklist + style guide) to document where Ruff is pinned and keep tooling versions consistent

Fixes #21472 as well.

*Originally created by @pheus on 2/20/2026* ### Fixes #21497 This PR pins Ruff to **v0.15.2** in both CI and pre-commit to avoid unexpected breakages from upstream releases. - Run Ruff in CI via `astral-sh/ruff-action` (pinned by SHA) instead of installing Ruff via `pip` - Align `.pre-commit-config.yaml` with the same Ruff version - Update the docs (release checklist + style guide) to document where Ruff is pinned and keep tooling versions consistent Fixes #21472 as well.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#292