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

Comply with PEP 561#2277

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
ppfeister merged 3 commits intomasterfrom2275-PEP-561
Nov 11, 2024
Merged

Comply with PEP 561#2277

ppfeister merged 3 commits intomasterfrom2275-PEP-561
Nov 11, 2024

Conversation

@ppfeister
Copy link
Member

Add type hints for exposedsherlock function, addpy.typed to comply with PEP 561 and allow for detection by mypy for static type checking.

@ppfeisterppfeister added the enhancementNew feature or request labelAug 28, 2024
@ppfeisterppfeister linked an issueAug 28, 2024 that may beclosed by this pull request
1 task
Co-authored-by: GuardianWang <31812793+GuardianWang@users.noreply.github.com>
@ppfeister
Copy link
MemberAuthor

Odd. I figured Optional would be available withouttyping since other types like (lowercase) dict and (lowercase) list were brought into the std library, negatingtyping for many of those. Seems that it needs the import still.

Sometime tomorrow, I'll either add the import or switch it to the normal union without an import (str | None).

GuardianWang reacted with eyes emoji

@ppfeisterppfeister mentioned this pull requestSep 12, 2024
1 task
@ppfeisterppfeister self-assigned thisNov 4, 2024
@ppfeisterppfeister merged commit785346c intomasterNov 11, 2024
13 checks passed
@ppfeisterppfeister deleted the 2275-PEP-561 branchNovember 11, 2024 22:21
3rdBaseWildcat added a commit to 3rdBaseWildcat/sherlock that referenced this pull requestFeb 26, 2025
Copy link

@Pena43Pena43 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sdushanthasdushanthaAwaiting requested review from sdushantha

2 more reviewers

@GuardianWangGuardianWangGuardianWang left review comments

@Pena43Pena43Pena43 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

@ppfeisterppfeister

Labels

enhancementNew feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Stubs required for statically typed downstreams

4 participants

@ppfeister@GuardianWang@Pena43

[8]ページ先頭

©2009-2025 Movatter.jp