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 Dec 7, 2022
1 parent 82291d3 commit d8fdc4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ipykernel/ipkernel.py
Expand Up @@ -49,7 +49,7 @@ def _create_comm(*args, **kwargs):

# there can only be one comm manager in a ipykernel process
lock = threading.Lock()
comm_manager : t.Optional[CommManager] = None
comm_manager: t.Optional[CommManager] = None


def _get_comm_manager(*args, **kwargs):
Expand Down
4 changes: 3 additions & 1 deletion ipykernel/tests/test_comm.py
@@ -1,7 +1,9 @@
from ipykernel.comm import Comm
from .utils import kernel
from ipykernel.ipkernel import IPythonKernel

from .utils import kernel


async def test_comm(kernel):
c = Comm()
c.kernel = kernel # type:ignore
Expand Down

0 comments on commit d8fdc4b

Please sign in to comment.