bugbug
bugbug copied to clipboard
added docstring to functions in bugzilla.py
Description
This pull request adds missing docstrings to functions in bugzilla.py. Fixes #3360.
Changes Made Added docstrings to the following functions:
get_idsgetget_ids_betweendownload_bugs_find_linkedfind_blocked_byfind_blockingget_fixed_versionsdelete_bugscount_bugsget_product_component_countget_component_team_mappingget_groups_usersget_revision_ids
@suhaibmujahid review this, I'm I on track with this
Thank you, @skynette!
Please consider the following:
- Get the latest commit from the master (rebase or merge) to get the docstrings linter. Then run the following and fix the errors:
pre-commit run pydocstyle --files bugbug/bugzilla.py- Avoid the repetition (especially between the first line description and the return section).
- Where possible, describing the types should be using type hints, not in the docstrings.
- Follow Google Style Python Docstrings.
alright will do
@suhaibmujahid please find the update PR in https://github.com/mozilla/bugbug/pull/3373
@suhaibmujahid please find the update PR in #3373
Why did you open a duplicate PR? When you have an update, it should in the same PR.
Could you please close that PR and keep the work here?
@suhaibmujahid please find the update PR in #3373
Why did you open a duplicate PR? When you have an update, it should in the same PR.
Could you please close that PR and keep the work here?
okay done that