Merge lp:~mbruzek/charm-helpers/host-docstrings into lp:charm-helpers
Proposed by
Matt Bruzek
on 2016-01-15
| Status: | Merged |
|---|---|
| Merged at revision: | 518 |
| Proposed branch: | lp:~mbruzek/charm-helpers/host-docstrings |
| Merge into: | lp:charm-helpers |
| Diff against target: |
195 lines (+39/-25) 1 file modified
charmhelpers/core/host.py (+39/-25) |
| To merge this branch: | bzr merge lp:~mbruzek/charm-helpers/host-docstrings |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Charles Butler (community) | 2016-01-15 | Approve on 2016-01-15 | |
|
Review via email:
|
|||
Description of the Change
I got tired of going to pypi and finding incomplete documentation for the host module. We implemented one of the context managers (chdir) in our own charm because we did not know about the one in charm-helpers.
This proposal adds docstrings to all methods, and normalizes the docstring format to what I understand is the pipy recommendations.
I ran flake8 and generated the docs to test these changes. All methods for the host module are now documented. Please review and let me know if there are any issues.
To post a comment you must log in.


+1 LGTM
Thanks for updating the docstrings matt! This is extremely helpful