Peripheral: Show flake8 violations in CI output
@@ -10,6 +10,7 @@ before_script:
- ./cc-test-reporter before-build
script:
- python -m pytest --cov=elasticpypi --cov-report=term-missing --cov-report=xml
- - flake8 --max-complexity=6 --max-line-length=120 --exclude node_modules,.requirements
+ - flake8 --max-complexity=6 --max-line-length=120 --exclude node_modules,.requirements > .flake8
+ - cat .flake8
after_script:
- ./cc-test-reporter after-build --coverage-input-type coverage.py --exit-code $TRAVIS_TEST_RESULT
