Skip to content

Commit

Permalink
Remove external from scripts and package info
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Sep 9, 2015
1 parent 4d05650 commit c971e50
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[MASTER]
ignore=external,setup.py
reports=no

# Reasons disabled:
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_style
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ if [ ${PWD##*/} == "scripts" ]; then
cd ..
fi

flake8 homeassistant
pylint homeassistant
flake8 homeassistant --exclude bower_components,external
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
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'],
Expand Down

0 comments on commit c971e50

Please sign in to comment.