Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 1, 2022
1 parent 8167a8b commit da6e9ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion ipykernel/comm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from .comm import Comm
from comm.base_comm import CommManager

from .comm import Comm
4 changes: 2 additions & 2 deletions ipykernel/comm/comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.

from comm.base_comm import BaseComm
from traitlets import Instance, default

from ipykernel.jsonutil import json_clean
from ipykernel.kernelbase import Kernel

from comm.base_comm import BaseComm


class Comm(BaseComm):
"""Class for communicating between a Frontend and a Kernel"""
Expand All @@ -35,4 +34,5 @@ def publish_msg(self, msg_type, data=None, metadata=None, buffers=None, **keys):
buffers=buffers,
)


__all__ = ["Comm"]
1 change: 0 additions & 1 deletion ipykernel/ipkernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from zmq.eventloop.zmqstream import ZMQStream

from .comm import Comm, CommManager

from .compiler import XCachingCompiler
from .debugger import Debugger, _is_debugpy_available
from .eventloops import _use_appnope
Expand Down

0 comments on commit da6e9ec

Please sign in to comment.