Skip to content

Commit f998062

Browse files
Lint with ruff.
1 parent 74440b3 commit f998062

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ jobs:
2626
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2727
- name: Lint with flake8
2828
run: |
29-
# stop the build if there are Python syntax errors or undefined names
30-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
31-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
32-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
29+
ruff check . --exit-zero
3330
- name: Test with pytest
3431
run: |
3532
pytest

0 commit comments

Comments
 (0)