mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 14:38:46 +00:00
mypy: Add links to specific mypy bugs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
feff1d0411
commit
8246ee7c57
@@ -430,7 +430,7 @@ def do_change_realm_plan_type(
|
||||
realm.message_visibility_limit = None
|
||||
realm.upload_quota_gb = Realm.UPLOAD_QUOTA_STANDARD
|
||||
elif plan_type == Realm.PLAN_TYPE_SELF_HOSTED:
|
||||
realm.max_invites = None # type: ignore[assignment] # Apparent mypy bug with Optional[int] setter.
|
||||
realm.max_invites = None # type: ignore[assignment] # https://github.com/python/mypy/issues/3004
|
||||
realm.message_visibility_limit = None
|
||||
realm.upload_quota_gb = None
|
||||
elif plan_type == Realm.PLAN_TYPE_STANDARD_FREE:
|
||||
|
||||
Reference in New Issue
Block a user