mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
mypy: Enable error codes deprecated, exhaustive-match.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
d8985597e7
commit
72cc530cc1
@@ -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.
|
||||
|
Reference in New Issue
Block a user