-
Notifications
You must be signed in to change notification settings - Fork 406
Initial commit for license feature #477
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
Initial commit for license feature #477
Conversation
Issue: sigmavirus24#433 Added ability to retrieve license by name Added integration test for MIT license Added ability to retrieve repository's license
@@ -107,6 +108,7 @@ def _update_attributes(self, repo): | |||
self.id = repo.get('id', 0) | |||
#: Language property. | |||
self.language = repo.get('language', '') | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is superfluous. Please remove it.
Just a couple nits and then I'm 👍 |
hey @sigmavirus24 thanks for the feedback. Going to walk the dogs then take a look when I'm back 🐶 🐶 |
@sigmavirus24 I appreciate the nits. Pushed an update based off of your feedback. |
Updated unit test for license to make sure attributes exist Removed empty whiteline in repo.py
ba71168
to
7f41fca
Compare
# name of license | ||
self.name = license.get('name') | ||
|
||
# permission of license |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last nit, these comments are not exactly helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last nit, these comments are not exactly helpful.
@sigmavirus24 attribute comments removed.
Initial commit for license feature Closes #433
Issue: #433
Added ability to retrieve license by name
Added integration test for MIT license
Added ability to retrieve repository's license