1
0
Fork 0
mirror of https://github.com/topydo/topydo.git synced 2024-05-20 13:58:33 +00:00

Perform McCabe complexity checks as part of CI

This commit is contained in:
Bram Schoenmakers 2016-01-25 11:33:28 +01:00
parent e7be158cfc
commit f7e2b7cc1a
2 changed files with 6 additions and 0 deletions

View file

@ -13,9 +13,12 @@ install:
- "pip install .[test]"
- "pip install pylint"
- "pip install codecov"
- "pip install flake8"
- "pip install mccabe"
script:
- "green -vvr"
- "python -m pylint --errors-only topydo test"
- "flake8 topydo test"
# Cache Dependencies
after_script:
- codecov

3
setup.cfg Normal file
View file

@ -0,0 +1,3 @@
[flake8]
select = C901
max-complexity = 10