From fbd01263db6f1d8eccd44a25f289341b5ba70a7a Mon Sep 17 00:00:00 2001 From: Alex Shroyer Date: Fri, 1 Dec 2023 10:37:15 -0500 Subject: [PATCH] Update python-app.yml --- .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 f3d4fca..0e20bee 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -30,8 +30,8 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.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 + # stop the build if there are Python syntax errors or undefined names, but not type annotations flake8 doesn't understand + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --ignore=F821 # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest