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

[TYP] Reduce stubtest ignores#25844

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
timhoffm merged 1 commit intomatplotlib:mainfromksunden:allowlist_reduction
May 23, 2023

Conversation

ksunden
Copy link
Member

PR summary

Broadly makes the type hints more reflective of runtime behavior, though does incur some type:ignore comments because of sub/superclass interactions

In particular, mypy does not approve of making parameters to methods mandatory for subclasses (it is fine with adding optional params, just not making valid superclass calls invalid).
Nor does it approve ofremoving even an optional param (for the same reason).

Helper_path functions which are undocumented are no longer exported in thetransforms namespace.

Some additional comments added regarding corner cases of typing/explaining new ignores

PR checklist

Broadly makes the type hints more reflective of runtime behavior, though does incur some type:ignore comments because of sub/superclass interactions
@oscargusoscargus added this to thev3.8.0 milestoneMay 23, 2023
@timhoffmtimhoffm merged commit7d7f6da intomatplotlib:mainMay 23, 2023
@NGWiNGWi mentioned this pull requestNov 13, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

@oscargusoscargusoscargus approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.8.0
Development

Successfully merging this pull request may close these issues.

3 participants
@ksunden@timhoffm@oscargus

[8]ページ先頭

©2009-2025 Movatter.jp