Skip to content

Commit

Permalink
Remove CocotbMagics
Browse files Browse the repository at this point in the history
  • Loading branch information
mmichilot committed Jul 10, 2024
1 parent c278032 commit 4482725
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cocotb_kernel/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
from ipykernel.kernelapp import IPKernelApp
from IPython.core.interactiveshell import ExecutionResult

from cocotb_kernel.magics import CocotbMagics # type: ignore


class CocotbKernelApp(IPKernelApp):
# Patch init_signal because the kernel is ran in a separate thread
Expand Down Expand Up @@ -50,7 +48,6 @@ def interrupt_kernel(_signal: int, _frame: FrameType | None) -> None:
def start_kernel() -> None:
app.initialize(["-f", connection_file]) # type: ignore
app.shell.loop_runner = cocotb_loop_runner # type: ignore
app.shell.register_magics(CocotbMagics) # type: ignore
app.start() # type: ignore

cocotb.log.info("starting ipykernel")
Expand Down

0 comments on commit 4482725

Please sign in to comment.