mypy: Enable error codes deprecated, exhaustive-match.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-08-13 11:49:20 -07:00
committed by Anders Kaseorg
parent d8985597e7
commit 72cc530cc1

View File

@@ -366,12 +366,14 @@ warn_return_any = false
# Enable optional errors.
enable_error_code = [
"redundant-self",
"deprecated",
"redundant-expr",
"truthy-bool",
"truthy-iterable",
"ignore-without-code",
"unused-awaitable",
"explicit-override",
"exhaustive-match",
]
# Display the codes needed for # type: ignore[code] annotations.