Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Anders Kaseorgb4a2e71b6bb8
diff --git a/pyproject.toml b/pyproject.toml
index 8df41bfc713..4c73c438fad 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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",
]