Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 9, 2024

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 red-knot Multi-file analysis & type inference label Nov 8, 2024
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
20 checks passed
@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
red-knot Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants