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 strict_equality_for_none.

Anders Kaseorg07bc445ca9a7
diff --git a/pyproject.toml b/pyproject.toml
index 80c477f41ae..239282f623a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -385,6 +385,7 @@ disallow_untyped_calls = false
warn_return_any = false
# Enable optional errors.
+strict_equality_for_none = true
enable_error_code = [
"redundant-self",
"deprecated",