diff --git a/.coveragerc b/.coveragerc index 0aa3b54f8d9..c6da7fba413 100644 --- a/.coveragerc +++ b/.coveragerc @@ -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 diff --git a/.travis.yml b/.travis.yml index 65e417fffb6..339ed48d424 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/pylintrc b/pylintrc index 888fb50ee0f..e8455cf4245 100644 --- a/pylintrc +++ b/pylintrc @@ -1,5 +1,4 @@ [MASTER] -ignore=external,setup.py reports=no # Reasons disabled: diff --git a/scripts/check_style b/scripts/check_style index cacebba15a1..5fc8861b91a 100755 --- a/scripts/check_style +++ b/scripts/check_style @@ -5,5 +5,5 @@ if [ ${PWD##*/} == "scripts" ]; then cd .. fi +flake8 homeassistant pylint homeassistant -flake8 homeassistant --exclude bower_components,external diff --git a/setup.py b/setup.py index 48d8061f897..ce8a75072ac 100755 --- a/setup.py +++ b/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'],