Update mypy to 1.6.0 (#101780)

This commit is contained in:
Marc Mueller 2023-10-11 13:25:11 +02:00 committed by GitHub
parent f116e83b62
commit 0b2b486754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 32 additions and 28 deletions

View file

@ -35,7 +35,6 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
"show_error_codes": "true",
"follow_imports": "silent",
# Enable some checks globally.
"ignore_missing_imports": "true",
"local_partial_types": "true",
"strict_equality": "true",
"no_implicit_optional": "true",
@ -50,7 +49,13 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
"truthy-iterable",
]
),
"disable_error_code": ", ".join(["annotation-unchecked"]),
"disable_error_code": ", ".join(
[
"annotation-unchecked",
"import-not-found",
"import-untyped",
]
),
# Impractical in real code
# E.g. this breaks passthrough ParamSpec typing with Concatenate
"extra_checks": "false",