From bf41f2d1dece052a2a6cd2511f7563f89594ce0b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 21 Nov 2025 17:40:04 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- mitmproxy2swagger/mitmproxy2swagger.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mitmproxy2swagger/mitmproxy2swagger.py b/mitmproxy2swagger/mitmproxy2swagger.py index 8385fe1..f0bf08e 100644 --- a/mitmproxy2swagger/mitmproxy2swagger.py +++ b/mitmproxy2swagger/mitmproxy2swagger.py @@ -226,7 +226,9 @@ def main(override_args: Optional[Sequence[str]] = None): if len(all_params) > 0: set_key_if_not_exists( - swagger["paths"][path_template_to_set][method], "parameters", all_params + swagger["paths"][path_template_to_set][method], + "parameters", + all_params, ) if method not in ["get", "head"]: