ruff
[`pyupgrade`] Handle multiple base classes for PEP 695 generics (`UP046`)
#15659
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
19
Changes
View On
GitHub
[`pyupgrade`] Handle multiple base classes for PEP 695 generics (`UP046`)
#15659
ntBre
merged 19 commits into
main
from
brent/pep695-multi-base
ntBre
added
rule
ntBre
force pushed
from
9ff1143d
to
fcca9768
1 year ago
Base automatically changed from
brent/pep695-generics
to
main
1 year ago
ntBre
force pushed
from
fcca9768
to
14c18357
1 year ago
handle multiple base classes
ec7656fc
update docs
212eac3d
move test out of "not covered" section and delete TODO
e8eeb35d
delete duplicate Multiple test
e4587496
AlexWaygood
added
preview
ntBre
force pushed
from
14c18357
to
e4587496
1 year ago
also delete snap for duplicate test
1f584faa
revert to Edit::replacement
a3f0ad8a
test more than one additional base class and mix with multi generics
d981bf5f
ntBre
marked this pull request as ready for review
1 year ago
ntBre
commented on 2025-01-22
ntBre
requested a review
from
AlexWaygood
1 year ago
AlexWaygood
approved these changes on 2025-01-22
add more test cases
5b2076f7
expand on generic-not-last-base-class comment
244e73d5
offer a diagnostic when Generic isn't at the end of the arg list
bcbffee1
update docs
9a2709ca
document empty base_classes case
15482edb
use remove_argument helper
6a8a5db9
use find_generic more fully
db35ee88
also test Generic in the middle
c94ce52a
ntBre
commented on 2025-01-22
test and document multiple Generic base classes
130c300a
AlexWaygood
approved these changes on 2025-01-22
tidy find_generic
8ac0155c
use try_set_fix
eab85461
AlexWaygood
approved these changes on 2025-01-22
one last typo
6dba1fa3
ntBre
merged
ce811033
into main
1 year ago
ntBre
deleted the brent/pep695-multi-base branch
1 year ago
Login to write a write a comment.
Login via GitHub
Reviewers
AlexWaygood
Assignees
No one assigned
Labels
rule
preview
Milestone
No milestone
Login to write a write a comment.
Login via GitHub