mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Remove external from scripts and package info
This commit is contained in:
parent
4d05650744
commit
c971e50a68
@ -4,8 +4,6 @@ source = homeassistant
|
||||
omit =
|
||||
homeassistant/__main__.py
|
||||
|
||||
homeassistant/external/*
|
||||
|
||||
# omit pieces of code that rely on external devices being present
|
||||
homeassistant/components/arduino.py
|
||||
homeassistant/components/*/arduino.py
|
||||
|
@ -6,7 +6,7 @@ install:
|
||||
- pip install -r requirements_all.txt
|
||||
- pip install flake8 pylint coveralls
|
||||
script:
|
||||
- flake8 homeassistant --exclude bower_components,external
|
||||
- flake8 homeassistant
|
||||
- pylint homeassistant
|
||||
- coverage run -m unittest discover tests
|
||||
after_success:
|
||||
|
1
pylintrc
1
pylintrc
@ -1,5 +1,4 @@
|
||||
[MASTER]
|
||||
ignore=external,setup.py
|
||||
reports=no
|
||||
|
||||
# Reasons disabled:
|
||||
|
@ -5,5 +5,5 @@ if [ ${PWD##*/} == "scripts" ]; then
|
||||
cd ..
|
||||
fi
|
||||
|
||||
flake8 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/'
|
||||
'{}.zip'.format(__version__))
|
||||
|
||||
PACKAGES = find_packages(exclude=['tests', 'tests.*']) + \
|
||||
['homeassistant.external', 'homeassistant.external.noop',
|
||||
'homeassistant.external.nzbclients', 'homeassistant.external.vera']
|
||||
PACKAGES = find_packages(exclude=['tests', 'tests.*'])
|
||||
|
||||
PACKAGE_DATA = \
|
||||
{'homeassistant.components.frontend': ['index.html.template'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user