You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add type hints to all (at least public API) code make the distribution PEP 561 compliant. This allows mypy (and other tools?) to find the type hints and use them in linting.
In practice, add an empty awscrt/py.typed file, and include it in the package:
setup(
package_data={'awscrt': ['py.typed']},
zip_safe=False, # not needed with wheels, AFAIK
)
Add type hints to all (at least public API) code make the distribution PEP 561 compliant. This allows
mypy
(and other tools?) to find the type hints and use them in linting.In practice, add an empty
awscrt/py.typed
file, and include it in the package:PEP 561: https://www.python.org/dev/peps/pep-0561/
The text was updated successfully, but these errors were encountered: