We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc2911d commit e16ed03Copy full SHA for e16ed03
.github/workflows/lint.yml
@@ -0,0 +1,26 @@
1
+name: "Ruff Lint"
2
+
3
+on:
4
+ pull_request:
5
+ branches: ["main"]
6
7
+permissions:
8
+ contents: read
9
10
+jobs:
11
+ ruff:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v5
18
19
+ - name: Set up Python
20
+ run: uv python install
21
22
+ - name: Run Ruff linter
23
+ run: uv run ruff check .
24
25
+ - name: Run Ruff formatter check
26
+ run: uv run ruff format --check .
0 commit comments