GitHub Actions: Make black, flake8, and isort mandatory tests (#25)

* GitHub Actions: Make black, flake8, and isort mandatory tests

* fixup! black --diff
This commit is contained in:
Christian Clauss 2021-09-22 07:00:33 +02:00 committed by GitHub
parent ecae40d502
commit fd50058431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,11 +10,11 @@ jobs:
- run: pip install bandit black codespell flake8 flake8-bugbear
flake8-comprehensions isort
- run: bandit --recursive --skip B105,B108,B404,B603,B607 .
- run: black --check -l 79 . || true
- run: black --check --diff --line-length 79 .
- run: codespell
- run: flake8 . --count --max-complexity=15 --max-line-length=79
--show-source --statistics || true
- run: isort --check-only --profile black -l 79 . || true
- run: flake8 . --count --max-complexity=16 --max-line-length=79
--show-source --statistics
- run: isort --check-only --line-length 79 --profile black .
# - run: pip install -r tubearchivist/requirements.txt
# - run: mkdir --parents --verbose .mypy_cache
# - run: mypy --ignore-missing-imports --install-types --non-interactive .