Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ruff: Fix PIE807 Prefer `list()` over useless lambda.
Anders Kaseorg234d628fee6d
diff --git a/manage.py b/manage.pyindex a17630ac8ba..31284beab9f 100755--- a/manage.py+++ b/manage.py@@ -85,7 +85,7 @@ class FilteredManagementUtility(ManagementUtility):"","Available subcommands:",]- commands_dict = defaultdict(lambda: [])+ commands_dict = defaultdict(list)for name, app in get_filtered_commands().items():if app == "django.core":app = "django"diff --git a/zerver/lib/request.py b/zerver/lib/request.pyindex 6e4986f3472..aeb63929752 100644--- a/zerver/lib/request.py+++ b/zerver/lib/request.py@@ -63,7 +63,7 @@ class RequestNotes(BaseNotes[HttpRequest, "RequestNotes"]):realm: Optional[Realm] = Nonehas_fetched_realm: bool = Falseset_language: Optional[str] = None- ratelimits_applied: List[rate_limiter.RateLimitResult] = field(default_factory=lambda: [])+ ratelimits_applied: List[rate_limiter.RateLimitResult] = field(default_factory=list)query: Optional[str] = Noneerror_format: Optional[str] = Noneplaceholder_open_graph_description: Optional[str] = None