ruff/crates/ty_python_semantic/src/semantic_index
David Peter 29acc1e860
[ty] Support class-arguments for dataclass transformers (#21457)
## Summary

Allow metaclass-based and baseclass-based dataclass-transformers to
overwrite the default behavior using class arguments:

```py
class Person(Model, order=True):
    # ...
```

## Conformance tests

Four new tests passing!

## Test Plan

New Markdown tests
2025-11-15 17:47:48 +01:00
..
builder Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
use_def [ty] more precise lazy scope place lookup (#19932) 2025-09-08 21:08:35 +00:00
ast_ids.rs [ty] Split `ScopedPlaceId` into `ScopedSymbolId` and `ScopedMemberId` (#19497) 2025-07-25 13:54:33 +02:00
builder.rs [ty] name is parameter and global is a syntax error (#21312) 2025-11-14 18:15:34 +00:00
definition.rs [ty] Support class-arguments for dataclass transformers (#21457) 2025-11-15 17:47:48 +01:00
expression.rs [ty] Track heap usage of salsa structs (#19790) 2025-08-12 13:28:44 +02:00
member.rs [ty] Fix static assertion size check (#19814) 2025-08-07 13:38:16 -05:00
narrowing_constraints.rs [ty] Split `ScopedPlaceId` into `ScopedSymbolId` and `ScopedMemberId` (#19497) 2025-07-25 13:54:33 +02:00
place.rs [ty] Add version hint for failed stdlib attribute accesses (#20909) 2025-10-16 14:07:33 +00:00
predicate.rs [ty] Track heap usage of salsa structs (#19790) 2025-08-12 13:28:44 +02:00
re_exports.rs [ty] Fix panic for cyclic star imports (#21428) 2025-11-13 15:38:09 +01:00
reachability_constraints.rs [ty] Use "cannot" consistently over "can not" (#21255) 2025-11-03 10:38:20 -05:00
scope.rs [ty] display variance on hover over type variables (#20900) 2025-10-20 17:28:36 +00:00
symbol.rs [ty] name is parameter and global is a syntax error (#21312) 2025-11-14 18:15:34 +00:00
use_def.rs [ty] fix global symbol lookup from eager scopes (#21317) 2025-11-12 10:15:51 -08:00