Update lint_python.yml

This commit is contained in:
Christian Clauss 2021-08-02 17:23:00 +02:00 committed by Mathieu Comandon
parent a1c5bfef9d
commit f855dcea33

View file

@ -12,9 +12,10 @@ jobs:
- run: black --check . || true
- run: flake8 . --count --max-complexity=15 --max-line-length=120 --show-source --statistics
- run: isort --check-only --profile black . || true
- run: sudo apt-get install libdbus-1-dev libgirepository1.0-dev gir1.2-gnomedesktop-3.0 gir1.2-gtk-3.0
- run: sudo apt-get install libdbus-1-dev libgirepository1.0-dev
gir1.2-gnomedesktop-3.0 gir1.2-gtk-3.0 gir1.2-webkit2-4.0
- run: pip install PyGObject -r requirements.txt # -r requirements-dev.txt
- run: mypy --install-types --non-interactive . || true
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true
- run: pytest . || true
- run: pytest --doctest-modules . || true
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true