Skip to content

Commit

Permalink
Python lint: ruff --format is now --output-format
Browse files Browse the repository at this point in the history
Fixes the failing `ruff` linting in GitHub Actions.
  • Loading branch information
cclauss authored and lukekarrys committed Oct 27, 2023
1 parent 2cc378f commit 77cf75b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
Lint_Python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: pip install --user ruff
- run: ruff --format=github --select="E,F,PLC,PLE,UP,W,YTT" --ignore="PLC1901,S101,UP031" --target-version=py37 .
- run: ruff --output-format=github --select="E,F,PLC,PLE,UP,W,YTT" --ignore="E721,PLC1901,S101,UP031" --target-version=py38 .
Tests:
strategy:
fail-fast: false
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 77cf75b

Please sign in to comment.