Skip to content

Run stubtest with --strict-type-check-only#15604

Merged
brianschubert merged 1 commit intopython:mainfrom
brianschubert:ci-strict-type-check-only
Apr 4, 2026
Merged

Run stubtest with --strict-type-check-only#15604
brianschubert merged 1 commit intopython:mainfrom
brianschubert:ci-strict-type-check-only

Conversation

@brianschubert
Copy link
Copy Markdown
Collaborator

New flag in mypy v1.20 (python/mypy#19574)

Enables checking for @type_check_only on private types.

Copy link
Copy Markdown
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

I'm happy to see that @type_check_only finally became useful. Thanks!

@brianschubert brianschubert merged commit 19ebf8b into python:main Apr 4, 2026
54 checks passed
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.

2 participants