Skip to content

Commit f5c76b4

Browse files
committed
ci: lint only project files in flake8 step
1 parent 3af07f2 commit f5c76b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
- name: Lint with flake8
3535
run: |
3636
# stop the build if there are Python syntax errors or undefined names
37-
uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37+
uv run flake8 vistopia tests --count --select=E9,F63,F7,F82 --show-source --statistics
3838
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
39-
uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
39+
uv run flake8 vistopia tests --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4040
- name: Test with pytest
4141
run: |
4242
uv run pytest --cov=vistopia --cov-report=xml

0 commit comments

Comments
 (0)