mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-22 18:00:17 +00:00
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:
parent
ecae40d502
commit
fd50058431
8
.github/workflows/lint_python.yml
vendored
8
.github/workflows/lint_python.yml
vendored
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user