Skip to content

Commit 4af5ad1

Browse files
committed
🎨 lint code base with ruff
1 parent 2ed834e commit 4af5ad1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/cdci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ jobs:
2727
python-version: ${{ matrix.python-version }}
2828
cache: "pip" # caching pip dependencies
2929
cache-dependency-path: "**/pyproject.toml"
30-
- name: Install dependencies
30+
- name: lint package code with ruff
3131
run: |
3232
python -m pip install --upgrade pip
33+
pip install ruff
34+
ruff check src
35+
- name: Install dependencies for testing
36+
run: |
3337
pip install pytest
3438
pip install -e .
3539
- name: Run tests

0 commit comments

Comments
 (0)