Add pylint to travis

This commit is contained in:
Paulus Schoutsen 2014-11-11 22:18:35 -08:00
parent da960b29da
commit 2051871c81
2 changed files with 8 additions and 3 deletions

View File

@ -3,8 +3,8 @@ python:
- "3.4"
install:
- pip install -r requirements.txt
- pip install pep8
- pip install pep8 pylint
script:
- pep8 homeassistant --exclude bower_components,external
- pylint homeassistant
- python -m homeassistant -t test

View File

@ -1,7 +1,12 @@
[MASTER]
ignore=external
reports=no
disable=locally-disabled,duplicate-code
# Reasons disabled:
# locally-disabled - it spams too much
# duplicate-code - unavoidable
# cyclic-import - doesn't test if both import on load
disable=locally-disabled,duplicate-code,cyclic-import
[EXCEPTIONS]
overgeneral-exceptions=Exception,HomeAssistantError