-
Notifications
You must be signed in to change notification settings - Fork 15
key add/list api calls #4
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
Conversation
|
Hi @vitaly4uk. Thanks for your PR! Could you please add tests such that the test code coverage either remains the same or increases? The coveralls check above should indicate when that bar has been reached. |
|
|
||
|
|
||
| class GogsKey(object): | ||
|
|
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.
Could you add a docstring for the GogsKey class? Also, I would prefer the name GogsPublicKey because it seems more specific.
gogs_client/interface.py
Outdated
| If no user is specified, uses user authenticated by ``auth``. | ||
| :param auth.Authentication auth: authentication for user to retrieve. | ||
| :param entities.GogsKey key: new key |
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.
entities.GogsKey -> GogsKey for consistency's sake
* delete_key method have been added to api
No description provided.