From 846ae007c8bcaadf5c59cd252dd74af5502fce7e Mon Sep 17 00:00:00 2001 From: JONEMI19 Date: Tue, 14 Mar 2023 09:10:43 +0000 Subject: [PATCH] linting --- fastapi/dependencies/utils.py | 2 +- tests/test_query.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fastapi/dependencies/utils.py b/fastapi/dependencies/utils.py index ee8b003cc..dad7e6562 100644 --- a/fastapi/dependencies/utils.py +++ b/fastapi/dependencies/utils.py @@ -77,7 +77,7 @@ sequence_shape_to_type = { } mapping_shapes = {SHAPE_MAPPING} -mapping_types = (Mapping) +mapping_types = Mapping mapping_shapes_to_type = {SHAPE_MAPPING: Mapping} multipart_not_installed_error = ( diff --git a/tests/test_query.py b/tests/test_query.py index 3e0544bb2..6fbca4d2c 100644 --- a/tests/test_query.py +++ b/tests/test_query.py @@ -63,7 +63,7 @@ response_not_valid_int = { "/query/sequence-params?first-query=1&first-query=2", 200, "foo bar {'first-query': [1, 2]}", - ) + ), ], ) def test_get_path(path, expected_status, expected_response):