Update lint_python.yml

This commit is contained in:
Christian Clauss 2021-08-02 17:03:16 +02:00 committed by Mathieu Comandon
parent bdf94e1d9d
commit 3540480b42

View file

@ -10,8 +10,7 @@ jobs:
- run: pip install bandit black flake8 isort mypy pytest pyupgrade safety
- run: bandit --recursive --skip B101,B105,B107,B108,B303,B310,B311,B314,B320,B404,B405,B410,B602,B603,B607,B608 .
- run: black --check . || true
- run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- run: flake8 . --count --exit-zero --max-complexity=15 --max-line-length=120 --show-source --statistics
- run: flake8 . --count --max-complexity=15 --max-line-length=120 --show-source --statistics
- run: isort --check-only --profile black . || true
- run: pip install PyGObject -r requirements.txt # -r requirements-dev.txt
- run: mypy --install-types --non-interactive . || true