[ty] add inconsistent-mro autofix that moves Generic[] to the end of the bases list by 11happy · Pull Request #22998 · astral-sh/ruff (original) (raw)

@11happy

Signed-off-by: Bhuminjay bhuminjaysoni@gmail.com

@11happy

@AlexWaygood AlexWaygood added fixes

Related to suggested fixes for violations

ty

Multi-file analysis & type inference

labels

Jan 31, 2026

AlexWaygood

@11happy @AlexWaygood

Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com

@11happy @AlexWaygood

Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com

@11happy @AlexWaygood

Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com

@11happy @AlexWaygood

Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com

@11happy @AlexWaygood

Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com

@11happy

Signed-off-by: Bhuminjay bhuminjaysoni@gmail.com

@11happy

Calls_totype()_-MRO_errors_with_fix(e8566dec5b35dcae).snap

@AlexWaygood

@AlexWaygood

@AlexWaygood AlexWaygood changed the title[ty] add autofix that moves Generic[] to the end of the bases list [ty] add inconsistent-mro autofix that moves Generic[] to the end of the bases list

Feb 10, 2026

AlexWaygood

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