Logo
Explore Help
Sign In
Cyclic0007/ruff
1
0
Fork 0
You've already forked ruff
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
afc207ec0f936ea6bf34edd64dc33e71da7cfc02
ruff/crates/ty_python_semantic/resources/mdtest/narrow/conditionals
History
Renkai Ge 61f906d8e7 [ty] equality narrowing on enums that don't override __eq__ or __ne__ (#20285)
Add equality narrowing for enums, if they don't override `__eq__` or `__ne__` in an unsafe way.

Follow-up to PR https://github.com/astral-sh/ruff/pull/20164

Fixes https://github.com/astral-sh/ty/issues/939
2025-09-08 16:56:28 -07:00
..
boolean.md
[ty] Reachability constraints (#18621)
2025-06-17 09:24:28 +02:00
elif_else.md
[ty] Improve disjointness inference for NominalInstanceTypes and SubclassOfTypes (#18864)
2025-06-24 20:27:37 +00:00
eq.md
[ty] Expansion of enums into unions of literals (#19382)
2025-07-21 19:37:55 +02:00
in.md
[ty] equality narrowing on enums that don't override __eq__ or __ne__ (#20285)
2025-09-08 16:56:28 -07:00
is_not.md
[ty] Expansion of enums into unions of literals (#19382)
2025-07-21 19:37:55 +02:00
is.md
[ty] Expansion of enums into unions of literals (#19382)
2025-07-21 19:37:55 +02:00
nested.md
[ty] more precise lazy scope place lookup (#19932)
2025-09-08 21:08:35 +00:00
not.md
Rename Red Knot (#17820)
2025-05-03 19:49:15 +02:00
Powered by Gitea Version: 1.25.3 Page: 2374ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API