Skip to content

Commit

Permalink
Add pylint to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Nov 12, 2014
1 parent da960b2 commit 2051871
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 6 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2051871

Please sign in to comment.