False positive: PYI015
does not allow assigning typing_extensions.TypeVar
#3950
Labels
bug
Something isn't working
Ruff version: 0.0.261
Given the following file
test.pyi
:And the following invocation:
Ruff produces the following error:
PEP-695 and PEP-696 are under consideration and add new parameters to
TypeVar()
.typing_extensions
has added aTypeVar
class in order to test out these new features before they are accepted.flake8-pyi
does not raiseY015
for the above.The text was updated successfully, but these errors were encountered: