mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
Changed .github/workflows/ci.yml
This commit is contained in:
@@ -42,7 +42,10 @@ jobs:
|
||||
python-version: ${{ env.PYTHON_VERSION }}
|
||||
|
||||
- name: Install ruff
|
||||
run: pip install ruff
|
||||
# Install the exact pin from requirements-dev.txt rather than the latest
|
||||
# release, so CI and contributors run the same linter. `pip install ruff`
|
||||
# silently drifted ahead of every local venv.
|
||||
run: pip install "$(grep -E '^ruff==' requirements-dev.txt)"
|
||||
|
||||
- name: Run ruff check
|
||||
run: ruff check backend/
|
||||
|
||||
Reference in New Issue
Block a user