ruff
[`pyupgrade`] Handle multiple base classes for PEP 695 generics (`UP046`)
#15659
Merged

[`pyupgrade`] Handle multiple base classes for PEP 695 generics (`UP046`) #15659

ntBre merged 19 commits into main from brent/pep695-multi-base
ntBre
ntBre ntBre added rule
github-actions
ntBre ntBre force pushed from 9ff1143d to fcca9768 1 year ago
Base automatically changed from brent/pep695-generics to main 1 year ago
ntBre ntBre force pushed from fcca9768 to 14c18357 1 year ago
ntBre handle multiple base classes
ec7656fc
ntBre update docs
212eac3d
ntBre move test out of "not covered" section and delete TODO
e8eeb35d
ntBre delete duplicate Multiple test
e4587496
AlexWaygood AlexWaygood added preview
ntBre ntBre force pushed from 14c18357 to e4587496 1 year ago
ntBre also delete snap for duplicate test
1f584faa
ntBre revert to Edit::replacement
a3f0ad8a
ntBre test more than one additional base class and mix with multi generics
d981bf5f
ntBre ntBre marked this pull request as ready for review 1 year ago
ntBre
ntBre commented on 2025-01-22
ntBre ntBre requested a review from AlexWaygood AlexWaygood 1 year ago
AlexWaygood
AlexWaygood approved these changes on 2025-01-22
ntBre add more test cases
5b2076f7
ntBre expand on generic-not-last-base-class comment
244e73d5
ntBre offer a diagnostic when Generic isn't at the end of the arg list
bcbffee1
ntBre update docs
9a2709ca
ntBre document empty base_classes case
15482edb
ntBre use remove_argument helper
6a8a5db9
ntBre use find_generic more fully
db35ee88
ntBre also test Generic in the middle
c94ce52a
ntBre
ntBre commented on 2025-01-22
ntBre test and document multiple Generic base classes
130c300a
AlexWaygood
AlexWaygood approved these changes on 2025-01-22
ntBre tidy find_generic
8ac0155c
ntBre use try_set_fix
eab85461
AlexWaygood
AlexWaygood approved these changes on 2025-01-22
ntBre one last typo
6dba1fa3
ntBre ntBre merged ce811033 into main 1 year ago
ntBre ntBre deleted the brent/pep695-multi-base branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone