Skip to content

Commit ac2d16c

Browse files
committed
Use ruff
1 parent 303b498 commit ac2d16c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/test-and-lint.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ jobs:
3737
run: |
3838
python -m pip install --upgrade pip
3939
pip install .[dev]
40-
- name: Lint with flake8
40+
- name: Lint with ruff
4141
run: |
42-
flake8 image_slicer --count --verbose --show-source --statistics
43-
- name: Check with black
44-
run: |
45-
black --check image_slicer
42+
ruff check image_slicer
43+
ruff format --check image_slicer

0 commit comments

Comments
 (0)