Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add type annotations to package#180

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sigmavirus24 merged 1 commit intocertifi:masterfromjdufresne:mypy
Oct 27, 2021
Merged

Add type annotations to package#180

sigmavirus24 merged 1 commit intocertifi:masterfromjdufresne:mypy
Oct 27, 2021

Conversation

@jdufresne
Copy link
Contributor

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

Adding type annotations will allow packages consuming certifi to haveaccess to its typing information. The py.typed data file is include forPEP 561 compliance.If the API is ever expanded, the mypy type checker will ensure it isalso typed. For example, right now, typeshed is incomplete aftercertifi.contents() was added:https://github.com/python/typeshed/blob/ac2ef6e8c963a45841ad91e068e06748caa1fce6/stubs/certifi/certifi.pyi
@sigmavirus24sigmavirus24 merged commitff23c47 intocertifi:masterOct 27, 2021
@jdufresnejdufresne deleted the mypy branchOctober 27, 2021 19:59
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sigmavirus24sigmavirus24sigmavirus24 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@jdufresne@sigmavirus24@ismailbabalik53-jpg

[8]ページ先頭

©2009-2025 Movatter.jp