Initial ruff pass

This commit is contained in:
Jon Michael Aanes 2025-04-24 11:20:25 +02:00
parent 54cddfde0b
commit 025a0789b7

View File

@ -169,7 +169,9 @@ class GiteaClient:
# If a pull request for this head/base already exists, return it instead of crashing # If a pull request for this head/base already exists, return it instead of crashing
if response.status_code == 409: if response.status_code == 409:
logger.warning( logger.warning(
'Pull request already exists for head %s and base %s', head, base, 'Pull request already exists for head %s and base %s',
head,
base,
) )
prs = self.get_pull_requests(owner, repo) prs = self.get_pull_requests(owner, repo)
for pr in prs: for pr in prs: