mypy: Enable redundant-expr errors.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-05-31 15:09:19 -07:00
committed by Tim Abbott
parent 944c036df1
commit c944adfcc6
6 changed files with 10 additions and 6 deletions

View File

@@ -24,6 +24,11 @@ disallow_untyped_calls = false
disallow_untyped_decorators = false
warn_return_any = false
# Enable optional errors.
enable_error_code = [
"redundant-expr",
]
# Display the codes needed for # type: ignore[code] annotations.
show_error_codes = true