From ebfbf18aa31104517834783d4ad5c3b3ff373033 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 22 Mar 2025 10:41:06 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/tutorial/middleware.md | 4 ++-- docs_src/middleware/tutorial002.py | 2 +- tests/test_tutorial/test_middleware/test_tutorial001.py | 4 ++-- tests/test_tutorial/test_middleware/test_tutorial002.py | 3 ++- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/en/docs/tutorial/middleware.md b/docs/en/docs/tutorial/middleware.md index 1b7ec5805..64125dc74 100644 --- a/docs/en/docs/tutorial/middleware.md +++ b/docs/en/docs/tutorial/middleware.md @@ -67,7 +67,7 @@ Here we use 0 - diff --git a/tests/test_tutorial/test_middleware/test_tutorial002.py b/tests/test_tutorial/test_middleware/test_tutorial002.py index 6d8b975f0..3eaa8049c 100644 --- a/tests/test_tutorial/test_middleware/test_tutorial002.py +++ b/tests/test_tutorial/test_middleware/test_tutorial002.py @@ -1,6 +1,7 @@ -from docs_src.middleware.tutorial002 import app from fastapi.testclient import TestClient +from docs_src.middleware.tutorial002 import app + def test_add_process_time_header_middleware(): client = TestClient(app)