[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 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

Dec 4, 2025

AlexWaygood

MichaReiser

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy bhuminjaysoni@gmail.com

@11happy

Signed-off-by: 11happy soni5happy@gmail.com

@11happy

Signed-off-by: 11happy soni5happy@gmail.com

@AlexWaygood

@AlexWaygood

AlexWaygood

dcreager added a commit that referenced this pull request

Dec 15, 2025

@dcreager

dcreager added a commit that referenced this pull request

Dec 15, 2025

@dcreager

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 }})