The PEP 561 has a lot of best practices when we talk about the distribution and packaging type Information in a Python application.
A very simple good practice is to add a py.typed file in the project directory.
This makes it possible not to have stub files and to embed the typing directly in the .py files
The PEP 561 has a lot of best practices when we talk about the distribution and packaging type Information in a Python application.
A very simple good practice is to add a
py.typedfile in the project directory.This makes it possible not to have stub files and to embed the typing directly in the
.pyfiles