Add pylint to travis
parent
da960b29da
commit
2051871c81
|
@ -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
|
||||
|
||||
|
|
7
pylintrc
7
pylintrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue