From 47371d496a2df4d6b7ba143a89ddb98cfb4d6fb4 Mon Sep 17 00:00:00 2001 From: marcosmc Date: Thu, 21 Nov 2024 14:07:03 +0100 Subject: [PATCH] fix flake8 --- .github/workflows/dev-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dev-ci.yml b/.github/workflows/dev-ci.yml index 16ea656..85b0a3a 100644 --- a/.github/workflows/dev-ci.yml +++ b/.github/workflows/dev-ci.yml @@ -43,10 +43,12 @@ jobs: # * flake8 src --count --exit-zero --max-complexity=10 --statistics - name: Linting with flake8 run: | + source dgcv_venv/bin/activate # stop the build if there are Python syntax errors or undefined names flake8 src --count --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 99 chars wide flake8 src --count --exit-zero --statistics + deactivate - name: Run tests run: |