Advertize type annotations with py.typed

Existence of py.typed in the top-level package tells users of the
packages that the packages are annotated.

This should fix mypy errors like this in downstream projects:
  error: Skipping analyzing "tuf.api.metadata":
  found module but no type hints or library stubs

Fixes #1633

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
This commit is contained in:
Jussi Kukkonen 2021-11-11 21:51:38 +02:00
parent fa7990c354
commit 7951ed2b86
2 changed files with 3 additions and 0 deletions

View file

@ -45,6 +45,9 @@ install_requires =
[options.packages.find]
exclude = tests
[options.package_data]
tuf = py.typed
[check-manifest]
ignore =
.fossa.yml

0
tuf/py.typed Normal file
View file