Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribute and install py.typed to provide type information #9279

Merged
merged 1 commit into from
Feb 7, 2021
Merged

Distribute and install py.typed to provide type information #9279

merged 1 commit into from
Feb 7, 2021

Commits on Dec 15, 2020

  1. Distribute and install py.typed to provide type information

    Complies with PEP 561:
    https://www.python.org/dev/peps/pep-0561/#packaging-type-information
    
    By distributing and installing the py.typed file, mypy will use pip's
    type information when imported into other projects. For example, the
    pip-tools project can use pip's types and mypy to help verify
    correctness.
    
    mypy docs:
    https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages
    jdufresne committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    09e8fa9 View commit details
    Browse the repository at this point in the history