Skip to content

Commit 83b549c

Browse files
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
1 parent f27c495 commit 83b549c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

tests/assets/factory_create_app.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from fastapi import FastAPI
22

33

4-
class App(FastAPI): ...
4+
class App(FastAPI):
5+
...
56

67

78
def create_app_other() -> App:

tests/assets/package/mod/factory_inherit.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from fastapi import FastAPI
22

33

4-
class App(FastAPI): ...
4+
class App(FastAPI):
5+
...
56

67

78
def create_app() -> App:

tests/test_utils_check_factory.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ def create_app() -> FastAPI:
1717

1818

1919
def test_check_typed_factory_inherited() -> None:
20-
class MyApp(FastAPI): ...
20+
class MyApp(FastAPI):
21+
...
2122

2223
def create_app() -> MyApp:
2324
return MyApp() # pragma: no cover

0 commit comments

Comments
 (0)