From 8ad67f5955f5a67efd0c2fc3165061eec5e73600 Mon Sep 17 00:00:00 2001 From: Vincent Fazio Date: Tue, 16 Apr 2024 17:14:24 +1000 Subject: [PATCH] Update python-app.yml --- .github/workflows/python-app.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 091ce3a..e457881 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -23,11 +23,9 @@ jobs: python-version: 3.10.12 - name: Install dependencies run: pdm install - - name: Install dependencies - run: | - pdm add flake8 pytest - name: Lint with flake8 run: | + pdm add flake8 # 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