Skip to content
New issue

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

mutable-override: does it exist? #16882

Closed
jamesbraza opened this issue Feb 6, 2024 · 1 comment
Closed

mutable-override: does it exist? #16882

jamesbraza opened this issue Feb 6, 2024 · 1 comment
Labels
bug mypy got something wrong

Comments

@jamesbraza
Copy link
Contributor

Bug Report

Coming from https://mypy.readthedocs.io/en/stable/error_code_list2.html#check-that-overrides-of-mutable-attributes-are-safe, with mypy==1.7.1, Python 3.10.13, and the below config:

[tool.mypy]
enable_error_code = ["mutable-override"]

I get the below error when running mypy:

pyproject.toml: [mypy]: enable_error_code: Invalid error code(s): mutable-override

Does mutable-override even exist?

@hauntsaninja
Copy link
Collaborator

Use mypy 1.8

@hauntsaninja hauntsaninja closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

No branches or pull requests

2 participants