Skip to content

Commit f492327

Browse files
committed
Reapply mypy fixes
1 parent 6a9ff59 commit f492327

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_packages/jupyter_lsp/jupyter_lsp/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class LspStreamReader(LspStreamBase):
6262
help="the maximum size a header line send by the language server may have",
6363
).tag(config=True)
6464

65-
stream = Instance(
65+
stream = Instance( # type:ignore[assignment]
6666
BufferedByteReceiveStream, help="the stream to read from"
6767
) # type: BufferedByteReceiveStream
6868

@@ -206,7 +206,7 @@ async def _readline(self) -> Text:
206206
class LspStreamWriter(LspStreamBase):
207207
"""Language Server Writer"""
208208

209-
stream = Instance(
209+
stream = Instance( # type:ignore[assignment]
210210
TextSendStream, help="the stream to write to"
211211
) # type: TextSendStream
212212

0 commit comments

Comments
 (0)