Skip to content
Snippets Groups Projects
Commit 2051871c authored by Paulus Schoutsen's avatar Paulus Schoutsen
Browse files

Add pylint to travis

parent da960b29
No related merge requests found
......@@ -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
[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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment