Shopify / shopify_python

Python development standards at Shopify
MIT License
66 stars 13 forks source link

Include typing marker for mypy (PEP-561). #108

Closed mlhamel closed 5 years ago

mlhamel commented 5 years ago

Description

When using mypy, to better deal with typing from dependent packages we need to "advertise" our support of typing. As it it describe at https://www.python.org/dev/peps/pep-0561/#packaging-type-information, if you want mypy to check for correct typing of dependant package and be able to ignore specific ones that don't support it, you need to add a specific marker in your setup.py.

How does this PR work?

This PR is adding the typing marker to the setup.py