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

Add type annotations to package #180

Merged
merged 1 commit into from Oct 27, 2021
Merged

Add type annotations to package #180

merged 1 commit into from Oct 27, 2021

Commits on Oct 27, 2021

  1. Add type annotations to package

    Adding type annotations will allow packages consuming certifi to have
    access to its typing information. The py.typed data file is include for
    PEP 561 compliance.
    
    If the API is ever expanded, the mypy type checker will ensure it is
    also typed. For example, right now, typeshed is incomplete after
    certifi.contents() was added:
    
    https://github.com/python/typeshed/blob/ac2ef6e8c963a45841ad91e068e06748caa1fce6/stubs/certifi/certifi.pyi
    jdufresne committed Oct 27, 2021
    Copy the full SHA
    5f09ea8 View commit details
    Browse the repository at this point in the history