Skip to content

Commit 152285a

Browse files
committed
Prepare for black
1 parent ea5a7ca commit 152285a

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

atlassian/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.41.19
1+
3.41.20

atlassian/jira.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3772,7 +3772,7 @@ def update_permissionscheme(self, permission_id, name, description=None, permiss
37723772
- Sending an empty list will remove all permission grants from the permission scheme.
37733773
37743774
Cloud API docs: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permission-schemes/#api-rest-api-3-permissionscheme-schemeid-put
3775-
3775+
37763776
:param permission_id: int, REQUIRED: The ID of the permission scheme to update.
37773777
:param name: str, REQUIRED: The name of the permission scheme. Must be unique.
37783778
:param description: str, OPTIONAL: A description for the permission scheme. Defaults to None.
@@ -3789,26 +3789,26 @@ def update_permissionscheme(self, permission_id, name, description=None, permiss
37893789
}
37903790
]
37913791
:param scope: OPTIONAL: The scope of the permission scheme.
3792-
:param expand: str, OPTIONAL: Use expand to include additional information in the response.
3793-
This parameter accepts a comma-separated list.
3792+
:param expand: str, OPTIONAL: Use expand to include additional information in the response.
3793+
This parameter accepts a comma-separated list.
37943794
Note that permissions are always included when you specify any value.
37953795
37963796
:return:
37973797
"""
37983798
base_url = self.resource_url("permissionscheme")
3799-
url = "{base_url}/{scheme_id}".format(base_url=base_url, scheme_id=permission_id)
3799+
url = "{base_url}/{scheme_id}".format(base_url=base_url, scheme_id=permission_id)
38003800
data = {"name": name}
38013801
if description is not None:
38023802
data["description"] = description
38033803
if permissions is not None:
38043804
data["permissions"] = permissions
38053805
if scope is not None:
38063806
data["scope"] = scope
3807-
3807+
38083808
params = {}
38093809
if expand:
38103810
params["expand"] = expand
3811-
3811+
38123812
return self.put(url, data=data, params=params)
38133813

38143814
"""

examples/jira/jira_oauth2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# coding=utf-8
12
"""
23
Example server with Flask demonstrating use of Jira OAuth 2.0.
34
Server needs to be deployed. Example code is requesting access token from

0 commit comments

Comments
 (0)