summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2020-08-28 21:40:04 +0200
committerNejc Habjan <nejc.habjan@siemens.com>2020-08-29 01:09:14 +0200
commitd2997530bc3355048143bc29580ef32fc21dac3d (patch)
treef715fa1b18a36e0833a8098ffdd4e075071e6d82 /gitlab/v4/objects.py
parenta038e9567fd16259e3ed360ab0defd779e9c3901 (diff)
downloadgitlab-d2997530bc3355048143bc29580ef32fc21dac3d.tar.gz
chore: make latest black happy with existing code
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py26
1 files changed, 21 insertions, 5 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 2a3615f..37c33e2 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -711,8 +711,14 @@ class ProjectDeployTokenManager(ListMixin, CreateMixin, DeleteMixin, RESTManager
_from_parent_attrs = {"project_id": "id"}
_obj_cls = ProjectDeployToken
_create_attrs = (
- ("name", "scopes",),
- ("expires_at", "username",),
+ (
+ "name",
+ "scopes",
+ ),
+ (
+ "expires_at",
+ "username",
+ ),
)
@@ -725,8 +731,14 @@ class GroupDeployTokenManager(ListMixin, CreateMixin, DeleteMixin, RESTManager):
_from_parent_attrs = {"group_id": "id"}
_obj_cls = GroupDeployToken
_create_attrs = (
- ("name", "scopes",),
- ("expires_at", "username",),
+ (
+ "name",
+ "scopes",
+ ),
+ (
+ "expires_at",
+ "username",
+ ),
)
@@ -4181,7 +4193,11 @@ class ProjectServiceManager(GetMixin, UpdateMixin, DeleteMixin, ListMixin, RESTM
),
),
"jira": (
- ("url", "username", "password",),
+ (
+ "url",
+ "username",
+ "password",
+ ),
(
"api_url",
"active",