mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Add pylint to travis
This commit is contained in:
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…
x
Reference in New Issue
Block a user