We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5506c6 commit eae3898Copy full SHA for eae3898
2 files changed
.github/workflows/lint.yml
@@ -0,0 +1,22 @@
1
+name: Lint
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ workflow_dispatch:
7
8
+jobs:
9
+ ruff:
10
+ runs-on: ubuntu-latest
11
+ timeout-minutes: 5
12
+ steps:
13
+ - uses: actions/checkout@v6
14
15
+ - name: Install ruff
16
+ run: pipx install ruff
17
18
+ - name: Ruff check
19
+ run: ruff check .
20
21
+ - name: Ruff format
22
+ run: ruff format --check .
Makefile
@@ -1,4 +1,9 @@
-.PHONY: test test-all test-unit test-run test-memory-bounds e2e cluster
+.PHONY: test test-all test-unit test-run test-memory-bounds e2e cluster lint
+# Lint: ruff check + format check
+lint:
+ uv run ruff check .
+ uv run ruff format --check .
# Default: run unit tests only (no containers needed)
test: test-unit
0 commit comments