Skip to content

Commit

Permalink
Fix ruff install
Browse files Browse the repository at this point in the history
  • Loading branch information
psomhorst committed Oct 18, 2024
1 parent b92f073 commit 0d70942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
python3 --version
- name: Check linting and formatting using ruff
run: |
python3 -m pip install "ruff == 0.6.9"
python3 -m pip install pyproject-deplister
pyproject-deplister --extra dev --path pyproject.toml | grep ruff | sed 's/ //g' | xargs -I{} python3 -m pip install "{}"
ruff check || (echo "Please ensure you have a matching version of ruff (`ruff -V`) installed locally." && (exit 1))
ruff format --check || (echo "Please ensure you have a matching version of ruff (`ruff -V`) installed locally." && (exit 1))

0 comments on commit 0d70942

Please sign in to comment.