Skip to content

Commit 043a997

Browse files
committed
Use ruff for lint checks in github action
1 parent 06712f4 commit 043a997

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,9 @@ jobs:
3232
- name: Display Python version
3333
run: python -c "import sys; print(sys.version)"
3434

35-
- name: Lint with flake8
35+
- name: Lint with ruff
3636
run: |
37-
# stop the build if there are Python syntax errors or undefined names
38-
uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40-
uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
37+
uv run ruff check app tests
4138
4239
- name: Run tests with coverage
4340
run: |

0 commit comments

Comments
 (0)