You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI installs ruff fresh (pip install ruff) → gets latest (≥0.9 with UP045). The local pyproject ignore list includes UP045, but devs with older ruff (e.g. 0.8.x) get Unknown rule selector: UP045 and fail to lint locally.
Acceptance criteria
ruff pinned in pyproject.toml [project.optional-dependencies].dev with a >= constraint matching what CI uses.
.github/workflows/ci.yml lint job installs the pinned version (e.g. pip install -e ".[dev]") instead of bare pip install ruff.
python3 -m ruff check src/ tests/ succeeds locally with the pinned version.
Problem
CI installs ruff fresh (
pip install ruff) → gets latest (≥0.9 withUP045). The local pyproject ignore list includesUP045, but devs with older ruff (e.g. 0.8.x) getUnknown rule selector: UP045and fail to lint locally.Acceptance criteria
ruffpinned inpyproject.toml [project.optional-dependencies].devwith a >= constraint matching what CI uses..github/workflows/ci.ymllint job installs the pinned version (e.g.pip install -e ".[dev]") instead of barepip install ruff.python3 -m ruff check src/ tests/succeeds locally with the pinned version.