diff mercurial/interfaces/types.py @ 52753:ae2848198462

typing: add annotation to the public API of the transaction This prepare official protocol for the transaction (itself motivated by breaking the import cycle that slow pytype run to a crawl).
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 07 Feb 2025 16:40:49 +0100
parents 4eede65d68cf
children a7dcb7c1ff5a
line wrap: on
line diff
--- a/mercurial/interfaces/types.py	Thu Feb 06 20:43:34 2025 -0500
+++ b/mercurial/interfaces/types.py	Fri Feb 07 16:40:49 2025 +0100
@@ -12,9 +12,11 @@
 from __future__ import annotations
 
 from ._basetypes import (  # noqa: F401 (ignore imported but not used)
+    CallbackCategoryT,
     FsPathT,
     HgPathT,
     UserMsgT,
+    VfsKeyT,
 )
 
 from . import (