PY-80627 @staticmethod, @classmethod usage with overloaded methods

GitOrigin-RevId: 3712c0f4dfb70146e3127af02c4fc04de75dcd33
This commit is contained in:
Petr
2025-05-17 13:45:32 +00:00
committed by intellij-monorepo-bot
parent 58cd6bb893
commit 57c773ccb3
4 changed files with 62 additions and 18 deletions
@@ -1049,6 +1049,8 @@ INSP.overloads.this.method.overload.signature.not.compatible.with.implementation
INSP.overloads.this.function.overload.signature.not.compatible.with.implementation=Signature of this @overload-decorated function is not compatible with the implementation
INSP.overloads.at.least.two.overload.decorated.methods.must.be.present=At least two @overload-decorated methods must be present
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
# PyOverridesInspection
INSP.NAME.invalid.usages.of.override.decorator=Invalid usages of @override decorator