added flake8 testing for travis-ci

This commit is contained in:
Rob Weber
2019-10-10 14:59:13 -05:00
parent def99767e8
commit d32620ea18
2 changed files with 4 additions and 5 deletions

View File

@@ -3,11 +3,12 @@ language: python
python: 3.7
install:
- pip install kodi-addon-checker
- pip install flake8 kodi-addon-checker
before_script:
- git config core.quotepath false
# command to run our tests
script:
- flake8 ./ --statistics --show-source --ignore=E501 --exclude=croniter.py,dropbox/* # check python structure against flake8 tests, ignore long lines
- kodi-addon-checker --branch=leia --allow-folder-id-mismatch