Skip to content

Commit

Permalink
[github] Update the docstrings
Browse files Browse the repository at this point in the history
GitHub Backend extracts three categories of information. This
commit updates the docstrings.

Signed-off-by: Venu Vardhan Reddy Tekula <venuvardhanreddytekula8@gmail.com>
  • Loading branch information
vchrombie committed Feb 12, 2020
1 parent 28d4b13 commit 404976a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions perceval/backends/core/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class GitHub(Backend):
of connection problems
:param ssl_verify: enable/disable SSL verification
"""
version = '0.25.0'
version = '0.25.1'

CATEGORIES = [CATEGORY_ISSUE, CATEGORY_PULL_REQUEST, CATEGORY_REPO]

Expand Down Expand Up @@ -196,7 +196,7 @@ def fetch(self, category=CATEGORY_ISSUE, from_date=DEFAULT_DATETIME, to_date=DEF
return items

def fetch_items(self, category, **kwargs):
"""Fetch the items (issues or pull_requests)
"""Fetch the items (issues or pull_requests or repo information)
:param category: the category of items to fetch
:param kwargs: backend arguments
Expand Down Expand Up @@ -264,8 +264,8 @@ def metadata_updated_on(item):
def metadata_category(item):
"""Extracts the category from a GitHub item.
This backend generates two types of item which are
'issue' and 'pull_request'.
This backend generates three types of item which are
'issue', 'pull_request' and 'repo' information.
"""

if "base" in item:
Expand Down

0 comments on commit 404976a

Please sign in to comment.