Skip to content

Commit 44fc001

Browse files
committed
fix-lint
1 parent 5fe0a8f commit 44fc001

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ipykernel/zmqshell.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from IPython.utils.process import arg_split, system # type:ignore[attr-defined]
3636
from jupyter_client.session import Session, extract_header
3737
from jupyter_core.paths import jupyter_runtime_dir
38-
from traitlets import Any, CBool, CBytes, Instance, default, observe
38+
from traitlets import Any, CBool, CBytes, Instance, Type, default, observe
3939

4040
from ipykernel import connect_qtconsole, get_connection_file, get_connection_info
4141
from ipykernel.displayhook import ZMQShellDisplayHook
@@ -517,8 +517,8 @@ def __init__(self, *args, **kwargs):
517517
self._parent_header = contextvars.ContextVar("parent_header")
518518
self._parent_header.set({})
519519

520-
displayhook_class = type(ZMQShellDisplayHook)
521-
display_pub_class = type(ZMQDisplayPublisher)
520+
displayhook_class = Type(ZMQShellDisplayHook)
521+
display_pub_class = Type(ZMQDisplayPublisher)
522522
data_pub_class = Any()
523523
kernel = Any()
524524
_parent_header: contextvars.ContextVar[dict[str, Any]]

0 commit comments

Comments
 (0)