ruff/crates
Ibraheem Ahmed a2fb2ee06c
[ty] Fix disjointness checks with type-of @final classes (#21770)
## Summary

We currently perform a subtyping check, similar to what we were doing
for `@final` instances before
https://github.com/astral-sh/ruff/pull/21167, which is incorrect, e.g.
we currently consider `type[X[Any]]` and `type[X[T]]]` disjoint (where
`X` is `@final`).
2025-12-10 15:15:10 -05:00
..
ruff apply range suppressions to filter diagnostics (#21623) 2025-12-08 16:11:59 -08:00
ruff_annotate_snippets
ruff_benchmark [ty] Infer type of implicit cls parameter in method bodies (#21685) 2025-12-10 10:31:28 +01:00
ruff_cache
ruff_db [ty] Remove legacy concise_message fallback behavior (#21847) 2025-12-08 16:19:01 +00:00
ruff_dev
ruff_diagnostics
ruff_formatter
ruff_graph [ty] Teach ty the meaning of desperation (try ancestor pyproject.tomls as search-paths if module resolution fails) (#21745) 2025-12-03 15:04:36 -05:00
ruff_index
ruff_linter [pylint] Detect subclasses of builtin exceptions (PLW0133) (#21382) 2025-12-09 13:49:55 -05:00
ruff_macros
ruff_memory_usage
ruff_notebook
ruff_options_metadata
ruff_python_ast Include more details in Tokens 'offset is inside token' panic message (#21860) 2025-12-09 11:12:35 +01:00
ruff_python_ast_integration_tests
ruff_python_codegen
ruff_python_formatter Fix leading comment formatting for lambdas with multiple parameters (#21879) 2025-12-09 18:15:12 -05:00
ruff_python_importer
ruff_python_index
ruff_python_literal
ruff_python_parser [flake8-bugbear] Catch yield expressions within other statements (B901) (#21200) 2025-12-03 12:05:15 -05:00
ruff_python_semantic
ruff_python_stdlib [flake8-bugbear] Accept immutable slice default arguments (B008) (#21823) 2025-12-08 14:00:43 -05:00
ruff_python_trivia
ruff_python_trivia_integration_tests
ruff_server apply range suppressions to filter diagnostics (#21623) 2025-12-08 16:11:59 -08:00
ruff_source_file Use memchr for computing line indexes (#21838) 2025-12-08 08:50:51 -05:00
ruff_text_size
ruff_wasm apply range suppressions to filter diagnostics (#21623) 2025-12-08 16:11:59 -08:00
ruff_workspace
ty [ty] Checking files without extension (#21867) 2025-12-10 16:47:41 +00:00
ty_combine
ty_completion_eval [ty] Update completion eval to include modules 2025-12-04 17:37:37 -05:00
ty_ide [ty] Use default settings in completion tests 2025-12-09 10:42:46 -05:00
ty_project [ty] Checking files without extension (#21867) 2025-12-10 16:47:41 +00:00
ty_python_semantic [ty] Fix disjointness checks with type-of @final classes (#21770) 2025-12-10 15:15:10 -05:00
ty_server [ty] Checking files without extension (#21867) 2025-12-10 16:47:41 +00:00
ty_static
ty_test [ty] Remove legacy concise_message fallback behavior (#21847) 2025-12-08 16:19:01 +00:00
ty_vendored [ty] Carry generic context through when converting class into Callable (#21798) 2025-12-05 08:57:21 -05:00
ty_wasm