ruff
1227dd67
- [ty] Improve the check for `NewType`s with generic bases (#22961)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
4 days ago
[ty] Improve the check for `NewType`s with generic bases (#22961) In retrospect, the check I added in https://github.com/astral-sh/ruff/pull/22653 was insufficiently generalised. I've added a test case that fails on `main` but passes with this PR.
References
#22961 - [ty] Improve the check for `NewType`s with generic bases
Author
AlexWaygood
Parents
24522f9c
Loading