From bfaaf74395e98670eeccf29dd6f7506f8642ca0a Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer Date: Wed, 15 Nov 2023 18:30:34 +0100 Subject: [PATCH] [CI] only one flake8 call; added success message --- .gitea/workflows/python-lint-test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/python-lint-test.yml b/.gitea/workflows/python-lint-test.yml index b680bf0..13c4aed 100644 --- a/.gitea/workflows/python-lint-test.yml +++ b/.gitea/workflows/python-lint-test.yml @@ -30,7 +30,5 @@ jobs: if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi - name: Lint with flake8 run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # The GitHub editor is 127 chars wide - flake8 . --count --max-complexity=10 --max-line-length=127 --statistics + flake8 . --count --max-complexity=10 --max-line-length=127 --statistics && echo "✅ flake8 didn't find any errors"