Skip to content

Commit 78b03c5

Browse files
committed
ci: add ruff to strategy package validation
1 parent 396cab6 commit 78b03c5

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ jobs:
2121
run: |
2222
set -euo pipefail
2323
python -m pip install --upgrade pip
24-
python -m pip install -e . numpy pandas
24+
python -m pip install -e . numpy pandas ruff
25+
26+
- name: Run Ruff
27+
run: |
28+
set -euo pipefail
29+
ruff check .
2530
2631
- name: Run unit tests
2732
run: |

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ package-dir = {"" = "src"}
1717

1818
[tool.setuptools.packages.find]
1919
where = ["src"]
20+
21+
[tool.ruff]
22+
target-version = "py311"

0 commit comments

Comments
 (0)