Skip to content

Commit b3c1de4

Browse files
committed
rm un-needed type: ignore comments
1 parent cc21880 commit b3c1de4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

inheritance_explorer/_widget_support.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ def update_source_1(event):
6262
this_src = _get_source(class_1)
6363
source_1.clear_output()
6464
with source_1:
65-
display(Markdown(data=this_src)) # type: ignore[no-untyped-call]
65+
display(Markdown(data=this_src))
6666

6767
def update_source_2(event):
6868
class_2 = class_dropdown_2.value
6969
this_src = _get_source(class_2)
7070
source_2.clear_output()
7171
with source_2:
72-
display(Markdown(data=this_src)) # type: ignore[no-untyped-call]
72+
display(Markdown(data=this_src))
7373

7474
class_dropdown_1.observe(update_source_1, ["value"])
7575
class_dropdown_2.observe(update_source_2, ["value"])
@@ -90,4 +90,4 @@ def update_source_2(event):
9090
defined_at,
9191
]
9292
)
93-
) # type: ignore[no-untyped-call]
93+
)

inheritance_explorer/inheritance_explorer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,10 +567,10 @@ def _show_graph(dot_graph: pydot.Dot, format: str = "svg", env: str = "notebook"
567567
if format == "svg":
568568
from IPython.core.display import SVG
569569

570-
return SVG(graph) # type: ignore[no-untyped-call]
570+
return SVG(graph)
571571
else:
572572
from IPython.core.display import Image
573573

574-
return Image(graph, unconfined=True) # type: ignore[no-untyped-call]
574+
return Image(graph, unconfined=True)
575575

576576
return graph

0 commit comments

Comments
 (0)