Repository navigation
Type Parameter Modernization - #202
Draft
FrancescoPezzella wants to merge 150 commits into
Draft
FrancescoPezzella wants to merge 150 commits into
FrancescoPezzella wants to merge 150 commits into
Conversation
Collaborator
Author
|
Goal of this new PR:
In this way, I have managed to get rid of all the unnecessary clutter in Git History and also follow the workflow I saw other PRs follow. |
Collaborator
Author
|
I am gonna try out this whole stacked thing, so my changes dont get blocked by some feature I could use. |
Closed
FrancescoPezzella
force-pushed
the
typing-recipes-2
branch
from
September 21, 2026 15:27
837a32c to
e392a36
Compare
FrancescoPezzella
force-pushed
the
typing-recipes-2
branch
from
September 23, 2026 07:55
e4ab32d to
ff4016f
Compare
FrancescoPezzella
force-pushed
the
typing-recipes-2
branch
3 times, most recently
from
September 30, 2026 11:56
eaeef61 to
f5168f2
Compare
FrancescoPezzella
force-pushed
the
typing-recipes-2
branch
from
October 2, 2026 14:35
b7ed437 to
6120c5c
Compare
Collaborator
Author
|
Names such as Type Hints and Type Var were rejected, such as Type Hints being too broad and covering list[int] etc which other tools such as Ruff already do, while Type Var being imprecise and not covering all the changes made here such as ParamSpec. I will from now on be referring to this as Type Parameter Modernization. |
FrancescoPezzella
force-pushed
the
typing-recipes-2
branch
2 times, most recently
from
October 9, 2026 09:39
1a6e17e to
a7d45be
Compare
1 of 5 tasks
FrancescoPezzella
force-pushed
the
typing-recipes-2
branch
from
October 12, 2026 13:27
bcb516c to
aae40f4
Compare
FrancescoPezzella
changed the base branch from
main
to
libcst-replace-framework
October 12, 2026 13:27
FrancescoPezzella
added a commit
that referenced
this pull request
Oct 12, 2026
FrancescoPezzella
added a commit
that referenced
this pull request
Oct 13, 2026
…nt_names, and list them in the documentation.
…orms count as exports, and drop the duplicate __all__ test cases.
… and delete the wrapper.
…a function's own PEP 695 type parameter from the uses.
…om TypeParameterCheck into type_parameter_localization.py.
…and move the class attributes into an Attributes section.
… file and import * consumer defects of the type parameter CLI.
…e-rebase content.
…h property tests on generated modules that always contain type parameters
… one shared DOCS_BASE_URL, so nothing reads the per-rule anchor.
…ing project imports, such as a concatenation of t-strings.
…meters lose their leading underscore.
…les no longer need a manual format; --no-ruff skips both.
…nd the new run_ruff_format) and drop UP049, whose fix renames only the type parameter declaration when a module-level TypeVar of the same name remains (astral-sh/ruff#21004).
FrancescoPezzella
force-pushed
the
typing-recipes-2
branch
from
November 6, 2026 16:10
6672de2 to
19769c0
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is about modernizing Type Parameters.