From 8b7e5e0f260674218f329a74133469f8ade2af14 Mon Sep 17 00:00:00 2001 From: alarv Date: Sun, 30 Jun 2024 11:04:34 +0300 Subject: [PATCH] fix: treat lint warnings as errors --- .github/workflows/python-app.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index e86e17d..78dc9ea 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -32,8 +32,7 @@ jobs: run: | # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # 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 + flake8 . --count --max-complexity=10 --max-line-length=127 --statistics # - name: Test with pytest # run: | # pytest