Update mypy to 0.990 (#81783)

* Update mypy to 0.990

* Remove type ignore - overriding attr with property (13475)

* Remove type ignores - hasattr (13544)

* Adjust type ignore - assignment (13549)

* New error code - type-abstract (13785)

* Disable annotation-unchecked (13851)
This commit is contained in:
Marc Mueller 2022-11-08 14:41:39 +01:00 committed by GitHub
parent 2082026ff5
commit 0c8eeaa643
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 26 additions and 34 deletions

View file

@ -46,7 +46,8 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
"warn_redundant_casts": "true",
"warn_unused_configs": "true",
"warn_unused_ignores": "true",
"enable_error_code": "ignore-without-code",
"enable_error_code": ", ".join(["ignore-without-code"]),
"disable_error_code": ", ".join(["annotation-unchecked"]),
# Strict_concatenate breaks passthrough ParamSpec typing
"strict_concatenate": "false",
}