ci: pin ruff to the latest passing release (#408)
* ci: pin ruff to the passing baseline * ci: use the latest passing ruff release * ci: share the ruff pin through a lint dependency group * ci: note follow-up to update lint and unpin ruff
This commit is contained in:
3
.github/workflows/wheels.yml
vendored
3
.github/workflows/wheels.yml
vendored
@@ -111,7 +111,8 @@ jobs:
|
||||
|
||||
- name: Lint and format with ruff
|
||||
run: |
|
||||
pip install ruff
|
||||
pip install --upgrade pip
|
||||
pip install --group lint
|
||||
ruff check .
|
||||
ruff format --check .
|
||||
|
||||
|
||||
@@ -22,15 +22,20 @@ dependencies = [
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ruff",
|
||||
"tox",
|
||||
"pkgconfig",
|
||||
"cython>=3.0",
|
||||
"setuptools",
|
||||
{include-group = "lint"},
|
||||
{include-group = "test"},
|
||||
{include-group = "docs"},
|
||||
]
|
||||
|
||||
lint = [
|
||||
# TODO: Update lint and formatting for newer Ruff releases, then remove the pin.
|
||||
"ruff==0.15.22",
|
||||
]
|
||||
|
||||
test = [
|
||||
"pytest",
|
||||
"anyio",
|
||||
|
||||
Reference in New Issue
Block a user