ruff
[ty] Emit diagnostic on tuple subclasses that override `__eq__`, `__ne__` or `__bool__` methods
#22150
Open

[ty] Emit diagnostic on tuple subclasses that override `__eq__`, `__ne__` or `__bool__` methods #22150

MatthewMckee4
MatthewMckee4 Emit diagnostic on tuple subclasses that override certain dunder methods
7f26aaa4
astral-sh-bot
astral-sh-bot
MatthewMckee4 Update diagnostic messages
ab443411
MatthewMckee4
MatthewMckee4 commented on 2025-12-23
ntBre ntBre added ty
MatthewMckee4 Remove a comment
8cd04db5
MatthewMckee4 Update docs
6d1e5110
MatthewMckee4 Update def name
b9af2e6e
MatthewMckee4 Remove rules config check
c601eae9
MatthewMckee4 MatthewMckee4 changed the title Emit diagnostic on tuple subclasses that override certain dunder methods [ty] Warn on tuple subclasses that override certain dunder methods 21 days ago
MatthewMckee4 Add example of subclass of subclass of tuple
3df22e41
MatthewMckee4 Update diagnostic
15d46f47
MatthewMckee4 MatthewMckee4 marked this pull request as ready for review 21 days ago
MatthewMckee4 MatthewMckee4 requested a review from carljm carljm 21 days ago
MatthewMckee4 MatthewMckee4 requested a review from AlexWaygood AlexWaygood 21 days ago
MatthewMckee4 MatthewMckee4 requested a review from sharkdp sharkdp 21 days ago
MatthewMckee4 MatthewMckee4 requested a review from dcreager dcreager 21 days ago
MatthewMckee4 MatthewMckee4 requested a review from MichaReiser MichaReiser 21 days ago
AlexWaygood
AlexWaygood commented on 2025-12-23
AlexWaygood
AlexWaygood commented on 2025-12-23
MatthewMckee4 Update diagnostic for `__bool__`
6795bc09
MatthewMckee4 Fix other mdtests
5473d259
MatthewMckee4
MatthewMckee4 commented on 2025-12-23
MatthewMckee4 Update mdtest docs
dae13772
MatthewMckee4
MatthewMckee4 commented on 2025-12-23
MatthewMckee4
MatthewMckee4 Update rule
1003aa47
MatthewMckee4 Update gen files
8fb039ea
AlexWaygood
MatthewMckee4 MatthewMckee4 marked this pull request as draft 21 days ago
MatthewMckee4 Update diagnostic messages
88cb724c
MatthewMckee4 MatthewMckee4 marked this pull request as ready for review 21 days ago
MatthewMckee4
MatthewMckee4 MatthewMckee4 changed the title [ty] Warn on tuple subclasses that override certain dunder methods [ty] Emit diagnostic on tuple subclasses that override `__eq__`, `__ne__` or `__bool__` methods 21 days ago
MatthewMckee4 Fix clippy
4d29efee
AlexWaygood
AlexWaygood commented on 2025-12-23
MatthewMckee4 Address review
c96ed0d8
carljm carljm removed review request from carljm carljm 20 days ago
MatthewMckee4 Merge main
fcd5920d
MatthewMckee4 Update mdtest doc
773306f6
MichaReiser
MatthewMckee4 Merge main
5e02a65f
MatthewMckee4 Fix tests
0a1b42a7
AlexWaygood AlexWaygood assigned AlexWaygood AlexWaygood 10 hours ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone