Skip to content

Commit

Permalink
Give error if complexity is too large.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Jul 31, 2021
1 parent afa9637 commit d433a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source
flake8 . --count --exit-zero --max-complexity=10
flake8 . --count --max-complexity=10
if: matrix.pip-sphinx == 'sphinx' && matrix.python-version == '3.9'
- name: Type checking with mypy
run: mypy
Expand Down

0 comments on commit d433a5d

Please sign in to comment.