Skip to content

[red-knot] Add Type constructors for Instance, ClassLiteral and SubclassOf variants#14215

Merged
AlexWaygood merged 1 commit intomainfrom
alex/type-constructors
Nov 9, 2024
Merged

[red-knot] Add Type constructors for Instance, ClassLiteral and SubclassOf variants#14215
AlexWaygood merged 1 commit intomainfrom
alex/type-constructors

Conversation

@AlexWaygood
Copy link
Member

Summary

Reduces some repetetiveness and verbosity at callsites. Addresses @carljm's review comments at https://github.com/astral-sh/ruff/pull/14155/files#r1833252458

Test Plan

cargo test -p red_knot_python_semantic

@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Nov 8, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@AlexWaygood AlexWaygood merged commit d3f1c8e into main Nov 9, 2024
@AlexWaygood AlexWaygood deleted the alex/type-constructors branch November 9, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants