Feature request: ignore PLW3201
for methods marked with @override
#6958
Labels
PLW3201
for methods marked with @override
#6958
Same request and reasoning as #3910
Python 3.12 will introduce the
override
decorator. It is already backported bytyping_extensions
.Overridden method names are out of the dev's control when subclassing an external library. An example of this are Enum's
_generate_next_value_
. Ruff could understand that there's nothing the dev can do about the names if a method is marked with@override
(and it'll still raise anyway on the base class if it's internal).The text was updated successfully, but these errors were encountered: