Reducing max-complexity to 12 after code refactor #25

* Added helper function in deploy.sh to run same tests as github actions locally
This commit is contained in:
simon
2021-09-22 12:03:52 +07:00
parent fd50058431
commit 023b5a4aba
2 changed files with 32 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ jobs:
- run: bandit --recursive --skip B105,B108,B404,B603,B607 .
- run: black --check --diff --line-length 79 .
- run: codespell
- run: flake8 . --count --max-complexity=16 --max-line-length=79
- run: flake8 . --count --max-complexity=12 --max-line-length=79
--show-source --statistics
- run: isort --check-only --line-length 79 --profile black .
# - run: pip install -r tubearchivist/requirements.txt