Skip to content

Commit 6f81e77

Browse files
committed
.github/workflows: adjust flake8 lint action
It is picking up the virtual environment in .venv and failing on a bunch of code unrelated to ours.
1 parent 0a911b8 commit 6f81e77

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
@@ -36,9 +36,9 @@ jobs:
3636
- name: Lint with flake8
3737
run: |
3838
# stop the build if there are Python syntax errors or undefined names
39-
uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39+
uv run flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics
4040
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
41-
uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
41+
uv run flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4242
- name: Set up PostgreSQL
4343
run: |
4444
pg_isready -U postgres -d dspacestatistics

0 commit comments

Comments
 (0)