diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70ace6a..95dd715 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,6 @@ jobs: # stop the build if there are Python syntax errors or undefined names flake8 opusfilter --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 opusfilter --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + flake8 opusfilter --count --exit-zero --statistics - name: Run tests with pytest run: pytest diff --git a/setup.cfg b/setup.cfg index 0fdb3d0..04addab 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,3 @@ [flake8] max-line-length = 127 +max-complexity = 18