mirror of https://github.com/zulip/zulip.git
mypy: Enable new errors redundant-self, truthy-iterable.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
417b29638c
commit
b4a2e71b6b
|
@ -26,8 +26,10 @@ warn_return_any = false
|
|||
|
||||
# Enable optional errors.
|
||||
enable_error_code = [
|
||||
"redundant-self",
|
||||
"redundant-expr",
|
||||
"truthy-bool",
|
||||
"truthy-iterable",
|
||||
"ignore-without-code",
|
||||
"unused-awaitable",
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue