Fix pr_merge_status type hints

This commit is contained in:
Torjus Håkestad 2024-12-30 11:07:32 +01:00
parent 7746fb53e2
commit 99118c4b7b
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -73,7 +73,7 @@ def get_pr(pr: int) -> dict[str, Any]:
def pr_merge_status(
pr: int, branches: list[str] = DEFAULT_BRANCHES, check_backport: bool = True
pr: int, branches: list[str] | None = DEFAULT_BRANCHES, check_backport: bool = True
) -> PRStatus:
if not branches:
branches = DEFAULT_BRANCHES