[ty] Emit diagnostic when a type variable with a default is followed by one without a default by 11happy · Pull Request #21787 · astral-sh/ruff (original) (raw)
AlexWaygood changed the title
[ty]: raise diagnostic when a type variable with a default is followed by one without a default [ty] Emit diagnostic when a type variable with a default is followed by one without a default
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy bhuminjaysoni@gmail.com
Signed-off-by: 11happy soni5happy@gmail.com
Signed-off-by: 11happy soni5happy@gmail.com
dcreager added a commit that referenced this pull request
- origin/main:
Update MSRV to 1.90 (#21987)
[ty] Improve check enforcing that an overloaded function must have an implementation (#21978)
Update actions/checkout digest to 8e8c483 (#21982)
[ty] Use
ParamSpecwithout the attr for inferable check (#21934) [ty] Emit diagnostic when a type variable with a default is followed by one without a default (#21787) [ty] Fix callout syntax in configuration mkdocs (#1875) (#21961) Update debug_assert which pointed at missing method (#21969) [ty] Add support for__qualname__and other implicit class attributes (#21966)
dcreager added a commit that referenced this pull request
- origin/main:
Fluent formatting of method chains (#21369)
[ty] Avoid stack overflow when calculating inferable typevars (#21971)
[ty] Add "qualify ..." code fix for undefined references (#21968)
[ty] Use jemalloc on linux (#21975)
Update MSRV to 1.90 (#21987)
[ty] Improve check enforcing that an overloaded function must have an implementation (#21978)
Update actions/checkout digest to 8e8c483 (#21982)
[ty] Use
ParamSpecwithout the attr for inferable check (#21934) [ty] Emit diagnostic when a type variable with a default is followed by one without a default (#21787)
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
[ Show hidden characters]({{ revealButtonHref }})