From 6f81e7735bfa92a62f0ee5f060794bb647f6f099 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 16 Sep 2025 18:51:12 +0300 Subject: [PATCH] .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. --- .github/workflows/python-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 8847960..78fc9f1 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -36,9 +36,9 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + uv run flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + uv run flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Set up PostgreSQL run: | pg_isready -U postgres -d dspacestatistics