Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle requirements for scripts #2765

Merged
merged 1 commit into from
Aug 10, 2016
Merged

Conversation

kellerza
Copy link
Member

@kellerza kellerza commented Aug 9, 2016

Description:

  • Handle REQUIREMENTS for scripts

Checklist:

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@@ -33,6 +32,13 @@ def test_install_existing_package(self):
TEST_EXIST_REQ, self.lib_dir))

self.assertTrue(package.install_package(TEST_EXIST_REQ))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

farcy v1.1

  • 1: W293 blank line contains whitespace

for req in getattr(script, 'REQUIREMENTS', []):
if not install_package(req, target=deps_dir):
print('Aborting scipt, could not install dependency', req)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are not actually aborting

@balloob
Copy link
Member

balloob commented Aug 10, 2016

Bueno. Can merge when last comment addressed 🐬

@balloob balloob merged commit aadf6a7 into home-assistant:dev Aug 10, 2016
@kellerza kellerza deleted the requirements branch August 10, 2016 19:34
@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants