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

View File

@@ -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",
]