Skip to content

Comments

[ty] Apply codemod adding stdlib docstrings#19327

Closed
AlexWaygood wants to merge 1 commit intomainfrom
alex/add-docstrings
Closed

[ty] Apply codemod adding stdlib docstrings#19327
AlexWaygood wants to merge 1 commit intomainfrom
alex/add-docstrings

Conversation

@AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Jul 14, 2025

Summary

PR that adds the codemod being setup in #19311, to check that it doesn't have a deleterious impact on performance. It's just for testing purposes, since the idea is that this codemod will be autoapplied during every typeshed sync.

Test Plan

CI

@AlexWaygood AlexWaygood added do-not-merge Do not merge this pull request ty Multi-file analysis & type inference labels Jul 14, 2025
@AlexWaygood AlexWaygood changed the title add the docstrings [ty] Apply codemod adding stdlib docstrings Jul 14, 2025
@github-actions
Copy link
Contributor

mypy_primer results

No ecosystem changes detected ✅

Memory usage changes were detected when running on open source projects
flake8 (https://github.com/pycqa/flake8)
-     memo fields = ~63MB
+     memo fields = ~66MB

trio (https://github.com/python-trio/trio)
-     memo fields = ~152MB
+     memo fields = ~159MB

@AlexWaygood
Copy link
Member Author

(the failing tests are just some snapshots that would need to be updated)

@AlexWaygood AlexWaygood deleted the alex/add-docstrings branch July 14, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge Do not merge this pull request ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant