Skip to content

Commit

Permalink
Merge pull request #2077 from python-gitlab/jlvillal/pylint
Browse files Browse the repository at this point in the history
chore: fix issue found with pylint==2.14.3
  • Loading branch information
nejch committed Jun 20, 2022
2 parents 22c5db4 + eeab035 commit 8e0cd8b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gitlab/client.py
Expand Up @@ -484,9 +484,7 @@ def _set_auth_info(self) -> None:
if (self.http_username and not self.http_password) or (
not self.http_username and self.http_password
):
raise ValueError(
"Both http_username and http_password should " "be defined"
)
raise ValueError("Both http_username and http_password should be defined")
if self.oauth_token and self.http_username:
raise ValueError(
"Only one of oauth authentication or http "
Expand Down

0 comments on commit 8e0cd8b

Please sign in to comment.