Skip to content

Commit fdb927e

Browse files
committed
stub - fix issues with literal types
1 parent 14c60e1 commit fdb927e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pygit2/_pygit2.pyi

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ from .enums import (
2020
SortMode,
2121
)
2222

23-
GIT_OBJ_BLOB: Literal[3]
24-
GIT_OBJ_COMMIT: Literal[1]
25-
GIT_OBJ_TAG: Literal[4]
26-
GIT_OBJ_TREE: Literal[2]
23+
GIT_OBJ_BLOB = Literal[3]
24+
GIT_OBJ_COMMIT = Literal[1]
25+
GIT_OBJ_TAG = Literal[4]
26+
GIT_OBJ_TREE = Literal[2]
2727
GIT_OID_HEXSZ: int
2828
GIT_OID_HEX_ZERO: str
2929
GIT_OID_MINPREFIXLEN: int

0 commit comments

Comments
 (0)