From fdb927e7c131dad52ce3de6dd160dcaf0a82a355 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 5 May 2025 23:37:38 +0500 Subject: [PATCH] stub - fix issues with literal types --- pygit2/_pygit2.pyi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pygit2/_pygit2.pyi b/pygit2/_pygit2.pyi index 406bb96b..488beabd 100644 --- a/pygit2/_pygit2.pyi +++ b/pygit2/_pygit2.pyi @@ -20,10 +20,10 @@ from .enums import ( SortMode, ) -GIT_OBJ_BLOB: Literal[3] -GIT_OBJ_COMMIT: Literal[1] -GIT_OBJ_TAG: Literal[4] -GIT_OBJ_TREE: Literal[2] +GIT_OBJ_BLOB = Literal[3] +GIT_OBJ_COMMIT = Literal[1] +GIT_OBJ_TAG = Literal[4] +GIT_OBJ_TREE = Literal[2] GIT_OID_HEXSZ: int GIT_OID_HEX_ZERO: str GIT_OID_MINPREFIXLEN: int