Travis CI: flake8 --max-complexity=10

https://github.com/PyCQA/mccabe is a part of flake8
pull/145/head
cclauss 7 years ago committed by GitHub
parent c803dd5f6d
commit ed135d05b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,7 @@ install:
- if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then pip install sphinx; fi
- pip install .
script:
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then flake8 .; fi
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then flake8 --max-complexity=10 .; fi
- yamllint --strict $(git ls-files '*.yaml' '*.yml')
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then
coverage run --source=yamllint setup.py test;

Loading…
Cancel
Save