Skip to content

Commit 27594be

Browse files
authored
Update python-package.yml
1 parent 0376929 commit 27594be

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
python -m pip install flake8 tox
31-
- name: Lint with flake8
30+
python -m pip install ruff tox
31+
- name: Lint with ruff
3232
run: |
33-
# stop the build if there are Python syntax errors or undefined names
34-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
35-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
36-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
33+
ruff check
3734
- name: Test with tox
3835
run: |
3936
tox

0 commit comments

Comments
 (0)