From eaf8a126431bf21cdcda5c103dd50ffdddc4ca2c Mon Sep 17 00:00:00 2001 From: PieTw3lve Date: Thu, 18 Jul 2024 17:52:50 -0400 Subject: [PATCH] Updated workflow part 3 --- .github/workflows/python-app.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index dbefdea..bb1e12f 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -25,16 +25,13 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install flake8 pytest + pip install flake8 - 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 # 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 - run: | - pytest - name: Run the bot run: | cd src