Skip to content

fix(typecheck): annotate value-range subclass patching - #1464

Closed
Qiong Wu (qiowu) (DingmaomaoBJTU) wants to merge 1 commit into
mainfrom
dingmaomaobjtu-annotate-value-range-subclasses
Closed

Qiong Wu (qiowu) (DingmaomaoBJTU) wants to merge 1 commit into
mainfrom
dingmaomaobjtu-annotate-value-range-subclasses

Conversation

@DingmaomaoBJTU

Copy link
Copy Markdown
Collaborator

Adds explicit types for the recursive subclass traversal and collected subclass list in value_range.py, allowing mypy to verify dynamic generate patching without attr-defined ignores. Runtime behavior is unchanged.

@DingmaomaoBJTU

Copy link
Copy Markdown
Collaborator Author

Superseded: the same minimal Mypy fix is now included in PR #1462 at the author's request, and #1462's Lint check passes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant