mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
mypy: Enable redundant-expr errors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
944c036df1
commit
c944adfcc6
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user