From 8b175fc15cd39def498e25760f14f5580be5d001 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 21:59:25 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_ast_inference.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/test_ast_inference.py b/tests/test_ast_inference.py index 2883bd1b5..76fd0d2f7 100644 --- a/tests/test_ast_inference.py +++ b/tests/test_ast_inference.py @@ -317,8 +317,13 @@ def test_openapi_schema_ast_inference(): "properties" ] assert empty_structures_props["empty_list"]["type"] == "array" - assert "items" not in empty_structures_props["empty_list"] or not empty_structures_props["empty_list"].get("items") - assert "type" not in empty_structures_props["empty_dict"] or empty_structures_props["empty_dict"]["type"] == "object" + assert "items" not in empty_structures_props[ + "empty_list" + ] or not empty_structures_props["empty_list"].get("items") + assert ( + "type" not in empty_structures_props["empty_dict"] + or empty_structures_props["empty_dict"]["type"] == "object" + ) local_variable_schema = paths["/edge_cases/local_variable"]["get"]["responses"][ "200"