mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
ruff: Partially reformat Python with Ruff 0.9 (2025 style).
These are the changes that are backwards compatible with the 2024
style.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 653b0b0436)
This commit is contained in:
committed by
Tim Abbott
parent
680f318bc0
commit
cd485ef162
@@ -448,7 +448,7 @@ do not match the types declared in the implementation of {function.__name__}.\n"
|
||||
self.assertIn(
|
||||
function_schema_type,
|
||||
(int, bool),
|
||||
f'\nUnexpected content type {actual_param_schema["contentMediaType"]} on function parameter {actual_param.param_name}, which does not match the OpenAPI definition.',
|
||||
f"\nUnexpected content type {actual_param_schema['contentMediaType']} on function parameter {actual_param.param_name}, which does not match the OpenAPI definition.",
|
||||
)
|
||||
function_params.add(
|
||||
(actual_param.request_var_name, schema_type(actual_param_schema, defs_mapping))
|
||||
|
||||
Reference in New Issue
Block a user