Skip to content

Commit 7eb9eb6

Browse files
committed
chore: fix warning: Invalid # noqa directive
1 parent b3686fc commit 7eb9eb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graphql_server/aiohttp/graphqlview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ async def __call__(self, request):
188188
exec_res,
189189
is_batch=isinstance(data, list),
190190
format_error=self.format_error,
191-
encode=partial(self.encode, pretty=is_pretty), # noqa: ignore
191+
encode=partial(self.encode, pretty=is_pretty), # noqa
192192
)
193193

194194
if is_graphiql:

graphql_server/sanic/graphqlview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async def __handle_request(self, request, *args, **kwargs):
141141
exec_res,
142142
is_batch=isinstance(data, list),
143143
format_error=self.format_error,
144-
encode=partial(self.encode, pretty=pretty), # noqa: ignore
144+
encode=partial(self.encode, pretty=pretty), # noqa
145145
)
146146

147147
if show_graphiql:

0 commit comments

Comments
 (0)