diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 093d2e2..60e01c7 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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 . diff --git a/pyproject.toml b/pyproject.toml index 74827ec..655e6fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",