From fd5005843116158d262d1d929f329a36b92035a7 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 22 Sep 2021 07:00:33 +0200 Subject: [PATCH] GitHub Actions: Make black, flake8, and isort mandatory tests (#25) * GitHub Actions: Make black, flake8, and isort mandatory tests * fixup! black --diff --- .github/workflows/lint_python.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 1f4fdd6..7f7c737 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -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 .