CI: flake8: max-complexity=14 (#2731)

The value of 10 does not really fit some of our world patterns and values
up to 15 may be acceptable. Looking at some worlds, 14 seems to be
achievable without too much work and reduces the noise in test output,
making it more usable.
This commit is contained in:
black-sliver 2024-01-16 17:10:58 +01:00 committed by GitHub
parent de8fe21d4a
commit 49ecd4b9c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ jobs:
continue-on-error: true continue-on-error: true
if: env.diff != '' && matrix.task == 'flake8' if: env.diff != '' && matrix.task == 'flake8'
run: | run: |
flake8 --count --max-complexity=10 --max-doc-length=120 --max-line-length=120 --statistics ${{ env.diff }} flake8 --count --max-complexity=14 --max-doc-length=120 --max-line-length=120 --statistics ${{ env.diff }}
- name: "mypy: Type check modified files" - name: "mypy: Type check modified files"
continue-on-error: true continue-on-error: true