File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
import os
16
16
import shutil
17
- from typing import Dict , Any , List
17
+ from typing import Any , Dict , List
18
18
19
19
# If extensions (or modules to document with autodoc) are in another directory,
20
20
# add these directories to sys.path here. If the directory is relative to the
Original file line number Diff line number Diff line change 3
3
# Copyright (c) IPython Development Team.
4
4
# Distributed under the terms of the Modified BSD License.
5
5
6
- from jupyter_client .channelsabc import HBChannelABC
7
6
from typing import List
8
7
8
+ from jupyter_client .channelsabc import HBChannelABC
9
+
9
10
# -----------------------------------------------------------------------------
10
11
# Channel classes
11
12
# -----------------------------------------------------------------------------
Original file line number Diff line number Diff line change 13
13
from binascii import b2a_hex
14
14
from collections import deque
15
15
from io import StringIO , TextIOBase
16
- from typing import Any , Optional , Callable
16
+ from typing import Any , Callable , Optional
17
17
from weakref import WeakSet
18
18
19
19
import zmq
Original file line number Diff line number Diff line change @@ -465,7 +465,8 @@ def init_io(self):
465
465
466
466
handler .stream = TextIOWrapper (
467
467
FileIO (
468
- sys .stderr ._original_stdstream_copy , "w" # type:ignore[attr-defined]
468
+ sys .stderr ._original_stdstream_copy ,
469
+ "w" , # type:ignore[attr-defined]
469
470
)
470
471
)
471
472
if self .displayhook_class :
You can’t perform that action at this time.
0 commit comments