Skip to content

Commit 91fd8ff

Browse files
authored
Python lint: ruff --format is now --output-format
Fixes the failing `ruff` linting in GitHub Actions.
1 parent b3d41ae commit 91fd8ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
Lint_Python:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- run: pip install --user ruff
16-
- run: ruff --format=github --select="E,F,PLC,PLE,UP,W,YTT" --ignore="E721,PLC1901,S101,UP031" --target-version=py38 .
16+
- run: ruff --output-format=github --select="E,F,PLC,PLE,UP,W,YTT" --ignore="E721,PLC1901,S101,UP031" --target-version=py38 .
1717
Tests:
1818
needs: Lint_Python # Lint_Python takes ~5 seconds, so wait for it to pass before running the full matrix of tests.
1919
strategy:
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ${{ matrix.os }}
2727
steps:
2828
- name: Checkout Repository
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
- name: Use Node.js ${{ matrix.node }}
3131
uses: actions/setup-node@v3
3232
with:

0 commit comments

Comments
 (0)