ruff/crates/red_knot_python_semantic/src
David Peter 2d82445794
[red-knot] Simplify unions of T and ~T (#15400)
## Summary

Simplify unions of `T` and `~T` to `object`.

## Test Plan

Adapted existing tests.
2025-01-10 23:00:52 +01:00
..
module_resolver [red-knot] `knot_extensions` Python API (#15103) 2025-01-08 12:52:07 +01:00
semantic_index [red-knot] `knot_extensions` Python API (#15103) 2025-01-08 12:52:07 +01:00
types [red-knot] Simplify unions of T and ~T (#15400) 2025-01-10 23:00:52 +01:00
util [red-knot] Improve ergonomics for the `PySlice` trait (#13983) 2024-10-29 20:40:59 +00:00
ast_node_ref.rs `@no_type_check` support (#15122) 2024-12-30 09:42:18 +00:00
db.rs `type: ignore[codes]` and `knot: ignore` (#15078) 2024-12-23 10:52:43 +01:00
lib.rs Add `invalid-ignore-comment` rule (#15094) 2024-12-23 10:38:10 +00:00
lint.rs Add `unknown-rule` (#15085) 2024-12-23 11:30:54 +01:00
module_name.rs Bind top-most parent when importing nested module (#14946) 2024-12-16 16:15:40 -05:00
node_key.rs [red-knot] Use memory address as AST node key (#14317) 2024-11-13 14:35:54 +01:00
program.rs [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00
python_platform.rs [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00
python_version.rs Add tracing support to mdtest (#14935) 2024-12-13 09:10:01 +00:00
semantic_index.rs [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00
semantic_model.rs [red-knot] Unify `setup_db()` functions, add `TestDb` builder (#14777) 2024-12-04 21:36:54 +01:00
site_packages.rs Rename `custom-typeshed-dir`, `target-version` and `current-directory` CLI options (#14930) 2024-12-13 08:21:52 +00:00
stdlib.rs [red-knot] Rename and rework the `CoreStdlibModule` enum (#15071) 2024-12-19 20:59:00 +00:00
suppression.rs Add `invalid-ignore-comment` rule (#15094) 2024-12-23 10:38:10 +00:00
symbol.rs [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00
types.rs [red-knot] Refactor `KnownFunction::takes_expression_arguments()` (#15406) 2025-01-10 19:09:03 +00:00
unpack.rs Allow assigning ellipsis literal as parameter default value (#14982) 2025-01-05 13:11:32 -06:00
visibility_constraints.rs Narrowing for class patterns in match statements (#15223) 2025-01-07 15:58:12 -05:00