Skip to content

Commit 07f3020

Browse files
Add workflow to check formatting using ruff
1 parent fc954c4 commit 07f3020

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/format.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Verify formatting
2+
3+
on:
4+
push:
5+
branches: master
6+
pull_request:
7+
8+
jobs:
9+
ruff:
10+
runs-on: ubuntu-latest
11+
name: Verify Python formatting
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: astral-sh/ruff-action@v3
16+
with:
17+
version: "0.11.9"
18+
args: "format --check"

0 commit comments

Comments
 (0)