view mercurial/cext/py.typed @ 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
children
line wrap: on
line source

partial