From 9300073f8dc33f166665f21e53942d983b2396a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Henrique?= <67766856+jhenriquelc@users.noreply.github.com> Date: Wed, 18 Sep 2024 11:58:25 -0300 Subject: [PATCH] fix: fpdf2: Allow `"BI"` for `_FontStyle` in `fpdf.pyi` --- stubs/fpdf2/fpdf/fpdf.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/fpdf2/fpdf/fpdf.pyi b/stubs/fpdf2/fpdf/fpdf.pyi index 0664638d0513..074b49288c75 100644 --- a/stubs/fpdf2/fpdf/fpdf.pyi +++ b/stubs/fpdf2/fpdf/fpdf.pyi @@ -67,7 +67,7 @@ __all__ = [ _Orientation: TypeAlias = Literal["", "portrait", "p", "P", "landscape", "l", "L"] _Format: TypeAlias = Literal["", "a3", "A3", "a4", "A4", "a5", "A5", "letter", "Letter", "legal", "Legal"] -_FontStyle: TypeAlias = Literal["", "B", "I"] +_FontStyle: TypeAlias = Literal["", "B", "I", "BI"] _FontStyles: TypeAlias = Literal["", "B", "I", "U", "BU", "UB", "BI", "IB", "IU", "UI", "BIU", "BUI", "IBU", "IUB", "UBI", "UIB"] FPDF_VERSION: Final[str]