ruff/.github
David Peter 37a0836bd2
[red-knot] typing.dataclass_transform (#17445)
## Summary

* Add initial support for `typing.dataclass_transform`
* Support decorating a function decorator with `@dataclass_transform(…)`
(used by `attrs`, `strawberry`)
* Support decorating a metaclass with `@dataclass_transform(…)` (used by
`pydantic`, but doesn't work yet, because we don't seem to model
`__new__` calls correctly?)
* *No* support yet for decorating base classes with
`@dataclass_transform(…)`. I haven't figured out how this even supposed
to work. And haven't seen it being used.
* Add `strawberry` as an ecosystem project, as it makes heavy use of
`@dataclass_transform`

## Test Plan

New Markdown tests
2025-04-22 10:33:02 +02:00
..
ISSUE_TEMPLATE Add issue templates (#16213) 2025-02-25 16:29:16 +05:30
workflows [red-knot] typing.dataclass_transform (#17445) 2025-04-22 10:33:02 +02:00
actionlint.yaml Use new-style Windows runner tag (#15661) 2025-01-21 17:44:17 -06:00
CODEOWNERS [ci] Remove MichaReiser as red_knot_python_semantic code owner (#16817) 2025-03-17 17:56:33 +01:00
PULL_REQUEST_TEMPLATE.md Add a PR template (#4582) 2023-05-24 02:17:38 +00:00
renovate.json5 Instruct Renovate to pin GitHub Actions based on SHA (#16789) 2025-03-17 07:44:59 +00:00
zizmor.yml Upgrade zizmor to the latest version in CI (#15649) 2025-01-22 17:00:10 +00:00