mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-08 01:09:37 +00:00
reduce max-complexity to 10
This commit is contained in:
@@ -91,7 +91,7 @@ function validate {
|
||||
echo "running codespell"
|
||||
codespell --skip="./.git" "$check_path"
|
||||
echo "running flake8"
|
||||
flake8 "$check_path" --count --max-complexity=12 --max-line-length=79 \
|
||||
flake8 "$check_path" --count --max-complexity=10 --max-line-length=79 \
|
||||
--show-source --statistics
|
||||
echo "running isort"
|
||||
isort --check-only --diff --profile black -l 79 "$check_path"
|
||||
|
||||
Reference in New Issue
Block a user