mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
ruff: Fix B006 Do not use mutable data structures for argument defaults.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
7ccc24d9fe
commit
e3d57c9586
@@ -462,7 +462,7 @@ Output:
|
||||
def client_post(
|
||||
self,
|
||||
url: str,
|
||||
info: Union[str, bytes, Dict[str, Any]] = {},
|
||||
info: Union[str, bytes, Mapping[str, Any]] = {},
|
||||
skip_user_agent: bool = False,
|
||||
follow: bool = False,
|
||||
secure: bool = False,
|
||||
@@ -875,7 +875,7 @@ Output:
|
||||
self,
|
||||
identifier: str,
|
||||
url: str,
|
||||
info: Union[str, bytes, Dict[str, Any]] = {},
|
||||
info: Union[str, bytes, Mapping[str, Any]] = {},
|
||||
**extra: str,
|
||||
) -> "TestHttpResponse":
|
||||
extra["HTTP_AUTHORIZATION"] = self.encode_uuid(identifier)
|
||||
@@ -907,7 +907,7 @@ Output:
|
||||
self,
|
||||
user: UserProfile,
|
||||
url: str,
|
||||
info: Union[str, bytes, Dict[str, Any]] = {},
|
||||
info: Union[str, bytes, Mapping[str, Any]] = {},
|
||||
intentionally_undocumented: bool = False,
|
||||
**extra: str,
|
||||
) -> "TestHttpResponse":
|
||||
|
||||
Reference in New Issue
Block a user