Fix pr_merge_status type hints
This commit is contained in:
parent
7746fb53e2
commit
99118c4b7b
@ -73,7 +73,7 @@ def get_pr(pr: int) -> dict[str, Any]:
|
|||||||
|
|
||||||
|
|
||||||
def pr_merge_status(
|
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:
|
) -> PRStatus:
|
||||||
if not branches:
|
if not branches:
|
||||||
branches = DEFAULT_BRANCHES
|
branches = DEFAULT_BRANCHES
|
||||||
|
Loading…
Reference in New Issue
Block a user