Skip to content

Commit c2a004b

Browse files
committed
Fix typing
1 parent 7a4ebbc commit c2a004b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

http_app/routes/graphql/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
schema = Schema(query=Query)
77

8-
graphql_app = GraphQLRouter(schema)
8+
graphql_app: GraphQLRouter = GraphQLRouter(schema)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ files = [
8080
"di_container.py",
8181
"config.py",
8282
]
83-
plugins = "pydantic.mypy"
83+
plugins = "pydantic.mypy,strawberry.ext.mypy_plugin"
8484

8585
[[tool.mypy.overrides]]
8686
module = "grpc.aio.*"

0 commit comments

Comments
 (0)