changeset 49650:2e34ea45aaea

typing: add py.typed to mercurial.cext for PEP 561 support Unfortunately, pytype doesn't support this yet. But it was included with the attr package, so we might as well do it here for consistency. Unlike the attr package, these type hints are only partial, so they are marked as such[1] (but who knows if it matters, given these are C extensions, so no local source code to scan). [1] https://peps.python.org/pep-0561/#partial-stub-packages
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 23 Nov 2022 16:11:20 -0500
parents df5d3b0d6472
children 3e1869751cfe
files mercurial/cext/py.typed
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mercurial/cext/py.typed	Wed Nov 23 16:11:20 2022 -0500
@@ -0,0 +1,1 @@
+partial