Use enum in type hint

Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
This commit is contained in:
Andrew Murray 2023-12-01 08:42:25 +11:00 committed by GitHub
parent 4bc365547a
commit 13c1d752c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ class FreeTypeFont:
size: float = 10,
index: int = 0,
encoding: str = "",
layout_engine: int | None = None,
layout_engine: Layout | None = None,
) -> None:
# FIXME: use service provider instead