We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
decorator: int = 3 @decorator # no error class A: pass class B: pass NewB = decorator(B) # E: "int" not callable
Mypy doesn't appear to do any checking of class decorators. Applying the decorator manually works.