mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
added flake8 testing for travis-ci
This commit is contained in:
parent
def99767e8
commit
d32620ea18
@ -3,11 +3,12 @@ language: python
|
|||||||
python: 3.7
|
python: 3.7
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install kodi-addon-checker
|
- pip install flake8 kodi-addon-checker
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- git config core.quotepath false
|
- git config core.quotepath false
|
||||||
|
|
||||||
# command to run our tests
|
# command to run our tests
|
||||||
script:
|
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
|
- kodi-addon-checker --branch=leia --allow-folder-id-mismatch
|
@ -9,9 +9,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- added new badges for Kodi Version, TravisCI and license information from shields.io
|
- added new badges for Kodi Version, TravisCI and license information from shields.io
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- use kodi-six for Kodi library imports, will make transition to python 3 easiser
|
- use kodi-six for Kodi library imports, will make transition to python 3 easiser
|
||||||
|
|
||||||
### Changed
|
### 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
|
- addon.xml updated to use Leia specific syntax and library imports
|
||||||
- removed specific encode() calls per Python2/3 compatibility
|
- removed specific encode() calls per Python2/3 compatibility
|
||||||
- call isdigit() method on the string directly instead of str.isdigit() (results in unicode error)
|
- call isdigit() method on the string directly instead of str.isdigit() (results in unicode error)
|
||||||
|
- added flake8 testing to travis-ci
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user