diff mercurial/interfaces/types.py @ 52914:3e8a3db5f5e8

typing: introduce a few basic alias for common types These types are passed everywhere. We introduce basic alias to Any, to make it simpler to start annotating code prior to introducing proper protocol for them.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 07 Feb 2025 23:00:31 +0100
parents a7dcb7c1ff5a
children
line wrap: on
line diff
--- a/mercurial/interfaces/types.py	Tue Feb 11 22:44:21 2025 -0500
+++ b/mercurial/interfaces/types.py	Fri Feb 07 23:00:31 2025 +0100
@@ -15,8 +15,11 @@
     CallbackCategoryT,
     FsPathT,
     HgPathT,
+    RepoT,
+    UiT,
     UserMsgT,
     VfsKeyT,
+    VfsT,
 )
 
 from . import (