Skip to content

Commit a0f6049

Browse files
committed
Run ruff format in pre-commit and CI workflow
1 parent f1e0cd7 commit a0f6049

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ jobs:
1515
uses: astral-sh/ruff-action@v3
1616
with:
1717
args: "check --output-format=github"
18+
- name: Ruff format check
19+
uses: astral-sh/ruff-action@v3
20+
with:
21+
args: "format --diff"

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ repos:
55
hooks:
66
- id: ruff-check
77
args: [--fix]
8+
- id: ruff-format
89
- repo: local
910
hooks:
1011
- id: pytest

0 commit comments

Comments
 (0)