Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
narrow: Add maybe_negate annotation needed by mypy 1.10.
Anders Kaseorg0dff5f0a277f
diff --git a/zerver/lib/narrow.py b/zerver/lib/narrow.pyindex 5bc5be0d952..8055612a1eb 100644--- a/zerver/lib/narrow.py+++ b/zerver/lib/narrow.py@@ -323,7 +323,7 @@ class NarrowBuilder:raise BadNarrowOperatorError("unknown operator " + operator)if negated:- maybe_negate = not_+ maybe_negate: ConditionTransform = not_else:maybe_negate = lambda cond: cond