mypy: Enable new errors redundant-self, truthy-iterable.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-09-08 10:21:51 -07:00 committed by Anders Kaseorg
parent 417b29638c
commit b4a2e71b6b
1 changed files with 2 additions and 0 deletions

View File

@ -26,8 +26,10 @@ warn_return_any = false
# Enable optional errors. # Enable optional errors.
enable_error_code = [ enable_error_code = [
"redundant-self",
"redundant-expr", "redundant-expr",
"truthy-bool", "truthy-bool",
"truthy-iterable",
"ignore-without-code", "ignore-without-code",
"unused-awaitable", "unused-awaitable",
] ]