We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
error: List or tuple expected as variable arguments
Your Environment
0.941
mypy.ini
3.9
Linux Mint IDK
The text was updated successfully, but these errors were encountered:
classmethod properties are not yet supported by mypy (see #11619), and are deprecated at runtime on 3.11+ (python/cpython#92379)
classmethod
Sorry, something went wrong.
No branches or pull requests
Bug Report
To Reproduce
Expected Behavior
no mypy errors
Actual Behavior
error:
error: List or tuple expected as variable arguments
Your Environment
0.941
mypy.ini
(and other config files):3.9
Linux Mint IDK
The text was updated successfully, but these errors were encountered: