How to configure a type-hinted project? #554
-
Mypy has instructions about adding a I was previously using setuptools and Here's what Mypy says for setuptools: I couldn't figure out what's the equivalent for Hatchling + The section of my old # https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages
[options]
package_dir =
= src
packages = find:
zip_safe = no
[options.packages.find]
where = src
[options.package_data]
my_project = py.typed |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
(answer below) |
Beta Was this translation helpful? Give feedback.
(answer below)