Skip to content

Commit 7bd87d7

Browse files
suppress PLR0915 Too many statements (103 > 102)
1 parent fe2c283 commit 7bd87d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/streamable_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ async def _validate_accept_header(self, request: Request, scope: Scope, send: Se
440440
return False
441441
return True
442442

443-
async def _handle_post_request(self, scope: Scope, request: Request, receive: Receive, send: Send) -> None:
443+
async def _handle_post_request(self, scope: Scope, request: Request, receive: Receive, send: Send) -> None: # noqa: PLR0915
444444
"""Handle POST requests containing JSON-RPC messages."""
445445
writer = self._read_stream_writer
446446
if writer is None: # pragma: no cover

0 commit comments

Comments
 (0)