Skip to content

Commit 41e3b1e

Browse files
committed
Add ruff to workflow
1 parent 8c7c3ce commit 41e3b1e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ jobs:
3232
cd source
3333
pip install -e .
3434
35+
# ------------------------------
36+
# Run ruff
37+
# ------------------------------
38+
- name: Run Ruff (lint)
39+
shell: bash -l {0}
40+
run: ruff check .
41+
42+
- name: Check formatting
43+
shell: bash -l {0}
44+
run: ruff format . --check
45+
3546
# ------------------------------
3647
# Run tests
3748
# ------------------------------

0 commit comments

Comments
 (0)