diff --git a/.travis.yml b/.travis.yml index 40088b8..b8f1cfe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/changelog.md b/changelog.md index c74b6e3..0098102 100644 --- a/changelog.md +++ b/changelog.md @@ -8,10 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Added -- added new badges for Kodi Version, TravisCI and license information from shields.io - -### Added - + - added new badges for Kodi Version, TravisCI and license information from shields.io - use kodi-six for Kodi library imports, will make transition to python 3 easiser ### Changed @@ -19,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - addon.xml updated to use Leia specific syntax and library imports - removed specific encode() calls per Python2/3 compatibility - call isdigit() method on the string directly instead of str.isdigit() (results in unicode error) + - added flake8 testing to travis-ci ### Removed