PY-80627 @override usage with overloaded methods

GitOrigin-RevId: d864bf51ce48a662d4aed696802c321561d27877
This commit is contained in:
Petr
2025-05-17 13:45:32 +00:00
committed by intellij-monorepo-bot
parent 57c773ccb3
commit f8ed1ff69b
7 changed files with 67 additions and 10 deletions
@@ -1051,6 +1051,8 @@ INSP.overloads.at.least.two.overload.decorated.methods.must.be.present=At least
INSP.overloads.at.least.two.overload.decorated.functions.must.be.present=At least two @overload-decorated functions must be present
INSP.overloads.use.staticmethod.inconsistently=Overloads use @staticmethod inconsistently
INSP.overloads.use.classmethod.inconsistently=Overloads use @classmethod inconsistently
INSP.overloads.override.should.be.placed.on.the.implementation='@override' should be placed on the implementation
INSP.overloads.override.should.be.placed.only.on.the.first.overload='@override' should be placed only on the first overload
# PyOverridesInspection
INSP.NAME.invalid.usages.of.override.decorator=Invalid usages of @override decorator