8000 Merge pull request #2077 from python-gitlab/jlvillal/pylint · python-gitlab/python-gitlab@8e0cd8b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e0cd8b

Browse files
authored
Merge pull request #2077 from python-gitlab/jlvillal/pylint
chore: fix issue found with pylint==2.14.3
2 parents 22c5db4 + eeab035 commit 8e0cd8b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gitlab/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,7 @@ def _set_auth_info(self) -> None:
484484
if (self.http_username and not self.http_password) or (
485485
not self.http_username and self.http_password
486486
):
487-
raise ValueError(
488-
"Both http_username and http_password should " "be defined"
489-
)
487+
raise ValueError("Both http_username and http_password should be defined")
490488
if self.oauth_token and self.http_username:
491489
raise ValueError(
492490
"Only one of oauth authentication or http "

0 commit comments

Comments
 (0)
0