Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Pin Ruff to 0.15.22 to fix the Lint Python job.

Peter Sobot02715336811f
diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml
index 85cd3a3..b3136d9 100644
--- a/.github/workflows/all.yml
+++ b/.github/workflows/all.yml
@@ -28,9 +28,14 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v4
- name: Install Ruff
+ # Pinned deliberately: Ruff 0.16.0 enables 413 rules by default, up from 59.
+ # We don't set `lint.select` in pyproject.toml, so an unpinned upgrade silently
+ # widened the rule set and surfaced 90 pre-existing findings. Bumping this pin
+ # means adopting (or explicitly selecting away) the newer defaults first.
+ # See: https://astral.sh/blog/ruff-v0.16.0
run: |
python -m pip install --upgrade pip
- pip install ruff
+ pip install 'ruff==0.15.22'
- name: Lint Python code
run: ruff check ${{ github.workspace }}/pedalboard
- name: Check Python formatting