mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
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:
parent
fa7990c354
commit
7951ed2b86
2 changed files with 3 additions and 0 deletions
|
|
@ -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
0
tuf/py.typed
Normal file
Loading…
Reference in a new issue