ruff/crates/red_knot_python_semantic/resources/mdtest/binary
Shaygan Hooshyari 0f0fff4d5a
[red-knot] Implement more types in binary and unary expressions (#13803)
Implemented some points from
https://github.com/astral-sh/ruff/issues/12701

- Handle Unknown and Any in Unary operation
- Handle Boolean in binary operations
- Handle instances in unary operation
- Consider division by False to be division by zero

---------

Co-authored-by: Carl Meyer <carl@astral.sh>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-10-20 01:57:21 +00:00
..
booleans.md [red-knot] Implement more types in binary and unary expressions (#13803) 2024-10-20 01:57:21 +00:00
instances.md [red-knot] Fix edge case for binary-expression inference where the lhs and rhs are the exact same type (#13823) 2024-10-19 11:09:54 -07:00
integers.md [red-knot] Implement more types in binary and unary expressions (#13803) 2024-10-20 01:57:21 +00:00