Skip to content

Commit 0620d02

Browse files
committed
.github/workflows/ruff.yml: Pin to 0.1.0.
The `--format` flag was changed to `--output-format` in the recent update. Pin to this version to prevent further updates from breaking (e.g. through new rules or other changes). This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <[email protected]>
1 parent e025c84 commit 0620d02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ruff.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ jobs:
55
ruff:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
9-
- run: pip install --user ruff
10-
- run: ruff --format=github .
8+
- uses: actions/checkout@v4
9+
- run: pip install --user ruff==0.1.0
10+
- run: ruff check --output-format=github .

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ repos:
66
entry: tools/codeformat.py -v -f
77
language: python
88
- repo: https://github.com/charliermarsh/ruff-pre-commit
9-
rev: v0.0.280
9+
rev: v0.1.0
1010
hooks:
1111
- id: ruff

0 commit comments

Comments
 (0)