Skip to content

Commit f2db7a1

Browse files
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
1 parent 89ac14b commit f2db7a1

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

tests/assets/factory_create_app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
from fastapi import FastAPI
22

33

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

76

87
def create_app_other() -> App:

tests/assets/package/mod/factory_inherit.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
from fastapi import FastAPI
22

33

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

76

87
def create_app() -> App:

tests/test_utils_check_factory.py

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

1818

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

2322
def create_app() -> MyApp:
2423
return MyApp() # pragma: no cover

0 commit comments

Comments
 (0)