Skip to content

Commit

Permalink
docs: minor docstring grammar fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed May 8, 2024
1 parent 8c99300 commit 1d37997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trestlebot/provider_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def provider_factory(access_token: str, type: str, server_url: str) -> GitProvid
Args:
access_token: Access token for the Git provider
type: Type of Git provider. Supported values are "github" or "gitlab"
server_url: URL of the Git provider server.
server_url: URL of the Git provider server
Returns:
a GitProvider object
Expand All @@ -34,7 +34,7 @@ def provider_factory(access_token: str, type: str, server_url: str) -> GitProvid
RuntimeError: If the Git provider cannot be detected
Note: The GitHub provider currently only support GitHub and not
Notes: The GitHub provider currently only supports GitHub and not
GitHub Enterprise. So the server value must be https://github.com.
"""

Expand Down

0 comments on commit 1d37997

Please sign in to comment.