Skip to content

Commit 75175a9

Browse files
committed
Update CI workflow to streamline linting and formatting checks with Ruff
1 parent 7b33809 commit 75175a9

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,12 @@ jobs:
3030
- name: Install formatting tools
3131
run: |
3232
python -m pip install --upgrade pip
33-
pip install ruff black isort
34-
35-
- name: Check code formatting with black
36-
run: black --check py_spoo_url/ tests/
37-
38-
- name: Check import sorting with isort
39-
run: isort --check-only py_spoo_url/ tests/
33+
pip install ruff
4034
4135
- name: Lint with Ruff
4236
run: |
43-
ruff check py_spoo_url/ tests/
44-
ruff format --check py_spoo_url/ tests/
37+
ruff check
38+
ruff format --check
4539
4640
test:
4741
name: Tests

0 commit comments

Comments
 (0)