ruff/crates
Matthew Mckee e8ea40012a
[ty] Add generic inference for dataclasses (#18443)
## Summary

An issue seen here https://github.com/astral-sh/ty/issues/500

The `__init__` method of dataclasses had no inherited generic context,
so we could not infer the type of an instance from a constructor call
with generics

## Test Plan

Add tests to classes.md` in generics folder
2025-06-03 09:59:43 -07:00
..
ruff Add a SourceFile to OldDiagnostic (#18356) 2025-05-30 13:34:38 +00:00
ruff_annotate_snippets
ruff_benchmark [ty] Add --config-file CLI arg (#18083) 2025-05-27 08:00:38 +02:00
ruff_cache
ruff_db Update salsa past generational id change (#18362) 2025-05-30 15:31:33 +02:00
ruff_dev Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
ruff_diagnostics Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
ruff_formatter
ruff_graph [ty] Infer the Python version from the environment if feasible (#18057) 2025-05-30 21:22:51 +00:00
ruff_index
ruff_linter [pyupgrade] Make fix unsafe if it deletes comments (UP050) (#18390) 2025-06-03 09:10:15 -04:00
ruff_macros Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
ruff_notebook
ruff_options_metadata
ruff_python_ast Implement template strings (#17851) 2025-05-30 15:00:56 -05:00
ruff_python_ast_integration_tests Implement template strings (#17851) 2025-05-30 15:00:56 -05:00
ruff_python_codegen Implement template strings (#17851) 2025-05-30 15:00:56 -05:00
ruff_python_formatter Implement template strings (#17851) 2025-05-30 15:00:56 -05:00
ruff_python_index
ruff_python_literal
ruff_python_parser Implement template strings (#17851) 2025-05-30 15:00:56 -05:00
ruff_python_resolver
ruff_python_semantic Implement template strings (#17851) 2025-05-30 15:00:56 -05:00
ruff_python_stdlib
ruff_python_trivia Add offset method to ruff_python_trivia::Cursor (#18371) 2025-05-29 16:08:15 +01:00
ruff_python_trivia_integration_tests
ruff_server Add a ViolationMetadata::rule method (#18234) 2025-05-28 09:27:09 -04:00
ruff_source_file
ruff_text_size
ruff_wasm Bump 0.11.12 (#18369) 2025-05-29 09:17:12 -04:00
ruff_workspace
ty [ty] Create separate FunctionLiteral and FunctionType types (#18360) 2025-06-03 10:59:31 -04:00
ty_ide Sync vendored typeshed stubs (#18407) 2025-06-01 15:21:18 +01:00
ty_project [ty] Infer the Python version from the environment if feasible (#18057) 2025-05-30 21:22:51 +00:00
ty_python_semantic [ty] Add generic inference for dataclasses (#18443) 2025-06-03 09:59:43 -07:00
ty_server [ty] Fix server hang after shutdown request (#18414) 2025-06-02 06:57:51 +00:00
ty_test [ty] Infer the Python version from the environment if feasible (#18057) 2025-05-30 21:22:51 +00:00
ty_vendored Sync vendored typeshed stubs (#18407) 2025-06-01 15:21:18 +01:00
ty_wasm Use ty's completions in playground (#18425) 2025-06-03 10:11:39 +02:00