Skip to content

Commit ad3e833

Browse files
committed
style: fix black violations
1 parent 5298964 commit ad3e833

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gitlab/v4/objects.py

+1
Original file line numberDiff line numberDiff line change
@@ -2153,6 +2153,7 @@ def revert(self, branch, **kwargs):
21532153
post_data = {"branch": branch}
21542154
self.manager.gitlab.http_post(path, post_data=post_data, **kwargs)
21552155

2156+
21562157
class ProjectCommitManager(RetrieveMixin, CreateMixin, RESTManager):
21572158
_path = "/projects/%(project_id)s/repository/commits"
21582159
_obj_cls = ProjectCommit

tools/python_test_v4.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,9 @@
466466
commit.revert(branch="master")
467467
revert_commit = admin_project.commits.list()[0]
468468

469-
expected_message = "Revert \"{}\"\n\nThis reverts commit {}".format(
470-
commit.message, commit.id)
469+
expected_message = 'Revert "{}"\n\nThis reverts commit {}'.format(
470+
commit.message, commit.id
471+
)
471472
assert revert_commit.message == expected_message
472473

473474
try:

0 commit comments

Comments
 (0)