8000 style: format with black again · python-gitlab/python-gitlab@22b5082 · GitHub
[go: up one dir, main page]

Skip to content

Commit 22b5082

Browse files
committed
style: format with black again
1 parent 4a8503d commit 22b5082

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

gitlab/v4/objects.py

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4262,10 +4262,18 @@ def transfer_project(self, to_namespace, **kwargs):
42624262
path, post_data={"namespace": to_namespace}, **kwargs
42634263
)
42644264

4265-
42664265
@cli.register_custom_action("Project", ("ref_name", "artifact_path", "job"))
42674266
@exc.on_http_error(exc.GitlabGetError)
4268-
def artifact(self, ref_name, artifact_path, job, streamed=False, action=None, chunk_size=1024, **kwargs):
4267+
def artifact(
4268+
self,
4269+
ref_name,
4270+
artifact_path,
4271+
job,
4272+
streamed=False,
4273+
action=None,
4274+
chunk_size=1024,
4275+
**kwargs
4276+
):
42694277
"""Download a single artifact file from a specific tag or branch from within the job’s artifacts archive.
42704278
42714279
Args:
@@ -4288,7 +4296,12 @@ def artifact(self, ref_name, artifact_path, job, streamed=False, action=None, ch
42884296
str: The artifacts if `streamed` is False, None otherwise.
42894297
"""
42904298

4291-
path = "/projects/%s/jobs/artifacts/%s/raw/%s?job=%s" % (self.get_id(), ref_name, artifact_path, job)
4299+
path = "/projects/%s/jobs/artifacts/%s/raw/%s?job=%s" % (
4300+
self.get_id(),
4301+
ref_name,
4302+
artifact_path,
4303+
job,
4304+
)
42924305
result = self.manager.gitlab.http_get(
42934306
path, streamed=streamed, raw=True, **kwargs
42944307
)

0 commit comments

Comments
 (0)
0