Bug Report
To Reproduce
class Example:
@property
@classmethod
def example(cls) -> typing.List[str]:
return ['str', 'ing', 's']
variable: typing.List[str] = Example.example
Expected Behavior
no mypy errors
Actual Behavior
error:
error: List or tuple expected as variable arguments
Your Environment
- Mypy version used:
0.941
- Mypy command-line flags:
- Mypy configuration options from
mypy.ini (and other config files):
- Python version used:
3.9
- Operating system and version:
Linux Mint IDK
Bug Report
To Reproduce
Expected Behavior
no mypy errors
Actual Behavior
error:
error: List or tuple expected as variable argumentsYour Environment
0.941mypy.ini(and other config files):3.9Linux Mint IDK