ruff/crates
David Peter 0084e94f78
[ty] Fix subtyping of type[Any] / type[T] and protocols (#21678)
## Summary

This is a bugfix for subtyping of `type[Any]` / `type[T]` and protocols.

## Test Plan

Regression test that will only be really meaningful once
https://github.com/astral-sh/ruff/pull/21553 lands.
2025-11-28 16:56:22 +01:00
..
ruff Show partial fixability indicator in statistics output (#21513) 2025-11-27 18:03:36 +01:00
ruff_annotate_snippets Only render hyperlinks for terminals known to support them (#21519) 2025-11-19 10:02:58 +01:00
ruff_benchmark [ty] more precise inference for a failed specialization (#21651) 2025-11-27 13:44:28 +01:00
ruff_cache
ruff_db Only render hyperlinks for terminals known to support them (#21519) 2025-11-19 10:02:58 +01:00
ruff_dev
ruff_diagnostics
ruff_formatter
ruff_graph analyze: Add option to skip over imports in TYPE_CHECKING blocks (#21472) 2025-11-16 12:30:24 +00:00
ruff_index
ruff_linter Show partial fixability indicator in statistics output (#21513) 2025-11-27 18:03:36 +01:00
ruff_macros
ruff_memory_usage
ruff_notebook [ty] Respect notebook cell boundaries when adding an auto import (#21322) 2025-11-13 18:58:08 +01:00
ruff_options_metadata
ruff_python_ast [ty] Fix panic for unclosed string literal in type annotation position (#21592) 2025-11-23 16:51:58 +01:00
ruff_python_ast_integration_tests
ruff_python_codegen
ruff_python_formatter Respect fmt: skip for compound statements on single line (#20633) 2025-11-18 12:02:09 -06:00
ruff_python_importer [ty] Respect notebook cell boundaries when adding an auto import (#21322) 2025-11-13 18:58:08 +01:00
ruff_python_index
ruff_python_literal
ruff_python_parser [parser] Fix panic when parsing IPython escape command expressions (#21480) 2025-11-24 05:40:27 +00:00
ruff_python_semantic Add rule to detect unnecessary class properties (#21535) 2025-11-26 09:31:22 +01:00
ruff_python_stdlib
ruff_python_trivia
ruff_python_trivia_integration_tests
ruff_server Set severity for non-rule diagnostics (#21559) 2025-11-21 17:42:35 +01:00
ruff_source_file
ruff_text_size [ty] Fix subtraction overflow bug 2025-11-21 15:07:37 -05:00
ruff_wasm Bump 0.14.6 (#21558) 2025-11-21 09:00:56 -05:00
ruff_workspace analyze: Add option to skip over imports in TYPE_CHECKING blocks (#21472) 2025-11-16 12:30:24 +00:00
ty [ty] Implement typing.final for methods (#21646) 2025-11-28 15:18:02 +00:00
ty_combine
ty_completion_eval [ty] Don't suggest things that aren't subclasses of BaseException after raise 2025-11-24 12:55:30 -05:00
ty_ide [ty] Rename ReferenceRequestHandler file (#21680) 2025-11-28 16:23:29 +01:00
ty_project [ty] Fix --exclude and src.exclude merging (#21341) 2025-11-10 12:52:45 +01:00
ty_python_semantic [ty] Fix subtyping of type[Any] / type[T] and protocols (#21678) 2025-11-28 16:56:22 +01:00
ty_server [ty] Rename ReferenceRequestHandler file (#21680) 2025-11-28 16:23:29 +01:00
ty_static
ty_test [ty] Add IDE autofixes for two "Did you mean...?" suggestions (#21667) 2025-11-27 18:20:02 +00:00
ty_vendored [ty] Create a specialization from a constraint set (#21414) 2025-11-19 14:20:33 -05:00
ty_wasm [ty] Rename ReferenceRequestHandler file (#21680) 2025-11-28 16:23:29 +01:00