changed linting function call
Python application / build (push) Failing after 30s

This commit is contained in:
brb
2023-07-11 09:47:59 +02:00
parent 19de6354c5
commit 056fe85d7c
+3 -3
View File
@@ -13,7 +13,7 @@ jobs:
with: with:
python-version: "3.10" python-version: "3.10"
architecture: "x64" architecture: "x64"
- name: Install dependencies - name: Install Dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install flake8 pytest pip install flake8 pytest
@@ -21,6 +21,6 @@ jobs:
- name: Lint with flake8 - name: Lint with flake8
run: | run: |
# stop the build if there are Python syntax errors or undefined names # stop the build if there are Python syntax errors or undefined names
flake8 ./code --count --select=E9,F63,F7,F82 --show-source --statistics flake8 ./code
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 ./code --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics # flake8 ./code --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics