Fix worflows into workflows

This commit is contained in:
THIVEND
2022-04-09 09:20:43 +02:00
parent 834dc1a8ac
commit 4d779761c2
@@ -9,7 +9,7 @@ on:
pull_request:
jobs:
lint:
backend_lint:
runs-on: ubuntu-latest
strategy:
matrix:
@@ -25,10 +25,11 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install pipenv
# if [ -f Pipfile ]; then pipenv install; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 ./classquiz --count --show-source --statistics
flake8 . --count --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