-
Notifications
You must be signed in to change notification settings - Fork 705
Adding Typehints for jira.py #1418
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
Changes from all commits
25a9830
e577032
ca83b63
36cb481
28fec8b
d845adf
1d40c4a
e26d59a
dc07f73
063fb5d
3715902
d1db0f6
93bf877
95b20cb
43822f0
7fa1d9d
be5563c
16f5609
ab4cc74
4fce803
d97000d
7d2cff6
a5b6151
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
# coding=utf-8 | ||
|
||
from ..base import BitbucketCloudBase | ||
|
||
|
||
class RepositoryVariables(BitbucketCloudBase): | ||
def __init__(self, url, *args, **kwargs): | ||
super(RepositoryVariables, self).__init__(url, *args, **kwargs) | ||
|
||
def __get_object(self, data): | ||
def __get_object(self, data) -> "RepositoryVariable": | ||
return RepositoryVariable( | ||
self.url_joiner(self.url, data["uuid"]), | ||
data, | ||
|
@@ -61,7 +60,7 @@ def each(self, q=None, sort=None): | |
|
||
return | ||
|
||
def get(self, uuid): | ||
def get(self, uuid: str): # type: ignore[override] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The signature for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since I created the PR it would appear that Codacy also fails a code check |
||
""" | ||
Returns the pipeline with the uuid in this repository. | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.