Remove external from scripts and package info
This commit is contained in:
parent
4d05650744
commit
c971e50a68
5 changed files with 3 additions and 8 deletions
|
@ -4,8 +4,6 @@ source = homeassistant
|
||||||
omit =
|
omit =
|
||||||
homeassistant/__main__.py
|
homeassistant/__main__.py
|
||||||
|
|
||||||
homeassistant/external/*
|
|
||||||
|
|
||||||
# omit pieces of code that rely on external devices being present
|
# omit pieces of code that rely on external devices being present
|
||||||
homeassistant/components/arduino.py
|
homeassistant/components/arduino.py
|
||||||
homeassistant/components/*/arduino.py
|
homeassistant/components/*/arduino.py
|
||||||
|
|
|
@ -6,7 +6,7 @@ install:
|
||||||
- pip install -r requirements_all.txt
|
- pip install -r requirements_all.txt
|
||||||
- pip install flake8 pylint coveralls
|
- pip install flake8 pylint coveralls
|
||||||
script:
|
script:
|
||||||
- flake8 homeassistant --exclude bower_components,external
|
- flake8 homeassistant
|
||||||
- pylint homeassistant
|
- pylint homeassistant
|
||||||
- coverage run -m unittest discover tests
|
- coverage run -m unittest discover tests
|
||||||
after_success:
|
after_success:
|
||||||
|
|
1
pylintrc
1
pylintrc
|
@ -1,5 +1,4 @@
|
||||||
[MASTER]
|
[MASTER]
|
||||||
ignore=external,setup.py
|
|
||||||
reports=no
|
reports=no
|
||||||
|
|
||||||
# Reasons disabled:
|
# Reasons disabled:
|
||||||
|
|
|
@ -5,5 +5,5 @@ if [ ${PWD##*/} == "scripts" ]; then
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
flake8 homeassistant
|
||||||
pylint homeassistant
|
pylint homeassistant
|
||||||
flake8 homeassistant --exclude bower_components,external
|
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -7,9 +7,7 @@ HERE = os.path.abspath(os.path.dirname(__file__))
|
||||||
DOWNLOAD_URL = ('https://github.com/balloob/home-assistant/archive/'
|
DOWNLOAD_URL = ('https://github.com/balloob/home-assistant/archive/'
|
||||||
'{}.zip'.format(__version__))
|
'{}.zip'.format(__version__))
|
||||||
|
|
||||||
PACKAGES = find_packages(exclude=['tests', 'tests.*']) + \
|
PACKAGES = find_packages(exclude=['tests', 'tests.*'])
|
||||||
['homeassistant.external', 'homeassistant.external.noop',
|
|
||||||
'homeassistant.external.nzbclients', 'homeassistant.external.vera']
|
|
||||||
|
|
||||||
PACKAGE_DATA = \
|
PACKAGE_DATA = \
|
||||||
{'homeassistant.components.frontend': ['index.html.template'],
|
{'homeassistant.components.frontend': ['index.html.template'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue