From 99118c4b7b5855c8abdf9071217077aaadb3bd83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Mon, 30 Dec 2024 11:07:32 +0100 Subject: [PATCH] Fix pr_merge_status type hints --- nixprstatus/pr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixprstatus/pr.py b/nixprstatus/pr.py index 6be07a8..66c169f 100644 --- a/nixprstatus/pr.py +++ b/nixprstatus/pr.py @@ -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