Request: More unsafe fixes for custom-type-var-return-type
/PYI019
#15798
Labels
fixes
Related to suggested fixes for violations
custom-type-var-return-type
/PYI019
#15798
Description
This is a direct follow-up to #14183, which was closed by #14238 but there are still cases that I think can be autofixed. Namely, when other method params than
self
/cls
are typed.For example, as of Ruff 0.9.3:
This is currently autofixed
But these aren't:
(examples taken from #14183 (comment) and microsoft/python-type-stubs#340)
The text was updated successfully, but these errors were encountered: