Skip to content

Commit

Permalink
Update build-py.yml with new ruff syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bschoening authored Mar 13, 2024
1 parent dfab41a commit 6435015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 .
ruff check . --output-format=github --select=E9,F63,F7,F82 --target-version=py38 .
# default set of ruff rules with GitHub Annotations
ruff --format=github --target-version=py37 --ignore F401 .
ruff check . --output-format=github --target-version=py38 --ignore F401 .
- name: Test with pytest
run: |
pytest

0 comments on commit 6435015

Please sign in to comment.