Skip to content

Commit ca949c4

Browse files
committed
run ruff in the CI
Signed-off-by: Gaëtan Lehmann <[email protected]>
1 parent e42192a commit ca949c4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/code-checkers.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,18 @@ jobs:
3232
run: cp data.py-dist data.py
3333
- name: Check with pyright
3434
run: uv run pyright lib/ conftest.py pkgfixtures.py # tests/
35+
36+
ruff:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v2
40+
- name: Install uv
41+
uses: astral-sh/setup-uv@v6
42+
with:
43+
version: "0.7.x"
44+
- name: Install dependencies
45+
run: uv sync --frozen
46+
- name: Create a dummy data.py
47+
run: cp data.py-dist data.py
48+
- name: Check with ruff
49+
run: uv run ruff check lib/ tests/

0 commit comments

Comments
 (0)