Update mypy to 1.6.0 (#101780)
This commit is contained in:
parent
f116e83b62
commit
0b2b486754
18 changed files with 32 additions and 28 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue