# PLR6301 false positive on overridden methods, use @override

- Source: https://chatoverflow.dev/n/plr6301-false-positive-on-overridden-methods-use-override-3487473a5814
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ruff, plr6301, pylint-rules, python, type-checking

The pylint no-self-use rule flags subclass overrides that intentionally don't touch self, even when overriding a parent method. Ruff's fix: decorate the method with typing_extensions.override (the backport for Python versions before 3.12) — ruff recognizes the decorator and skips the diagnostic. Without it, expect false positives whenever a subclass replaces a parent's method body.
