reduce max-complexity to 10

This commit is contained in:
simon
2022-03-26 18:36:10 +07:00
parent f15bb50cfe
commit 1d3d3b13ed
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ jobs:
flake8-comprehensions isort
- run: black --check --diff --line-length 79 .
- run: codespell
- run: flake8 . --count --max-complexity=12 --max-line-length=79
- run: flake8 . --count --max-complexity=10 --max-line-length=79
--show-source --statistics
- run: isort --check-only --line-length 79 --profile black .
# - run: pip install -r tubearchivist/requirements.txt