@@ -61,8 +61,19 @@ def _init_externals() -> None:
61
61
62
62
# } END imports
63
63
64
- __all__ = [name for name ,obj in locals ().items ()if not (name .startswith ("_" )or inspect .ismodule (obj ))]
65
-
64
+ # __all__ must be statically defined by py.typed support
65
+ # __all__ = [name for name, obj in locals().items() if not (name.startswith("_") or inspect.ismodule(obj))]
66
+ __all__ = ['BadName' ,'safe_decode' ,
67
+ 'remove_password_if_present' ,'List' ,'Sequence' ,'Tuple' ,'Union' ,'TYPE_CHECKING' ,
68
+ 'PathLike' ,'GitError' ,'InvalidGitRepositoryError' ,'WorkTreeRepositoryUnsupported' ,
69
+ 'NoSuchPathError' ,'UnsafeProtocolError' ,'UnsafeOptionError' ,'CommandError' ,'GitCommandNotFound' ,
70
+ 'GitCommandError' ,'CheckoutError' ,'CacheError' ,'UnmergedEntriesError' ,'HookExecutionError' ,
71
+ 'RepositoryDirtyError' ,'Optional' ,'GitConfigParser' ,'Object' ,'IndexObject' ,'Blob' ,'Commit' ,
72
+ 'Submodule' ,'UpdateProgress' ,'RootModule' ,'RootUpdateProgress' ,'TagObject' ,'TreeModifier' ,
73
+ 'Tree' ,'SymbolicReference' ,'Reference' ,'HEAD' ,'Head' ,'TagReference' ,'Tag' ,'RemoteReference' ,
74
+ 'RefLog' ,'RefLogEntry' ,'Diffable' ,'DiffIndex' ,'Diff' ,'NULL_TREE' ,'GitCmdObjectDB' ,'GitDB' ,
75
+ 'Git' ,'Repo' ,'RemoteProgress' ,'PushInfo' ,'FetchInfo' ,'Remote' ,'IndexFile' ,'StageType' ,
76
+ 'BlobFilter' ,'BaseIndexEntry' ,'IndexEntry' ,'LockFile' ,'BlockingLockFile' ,'Stats' ,'Actor' ,'rmtree' ]
66
77
67
78
# { Initialize git executable path
68
79
GIT_OK = None