This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user