Skip to content

Commit 5742578

Browse files
committed
Ignore for now
1 parent 1515c75 commit 5742578

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

htmltools/_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def _normalize_attr_value(x: TagAttrValue) -> Optional[str]:
460460
return ""
461461
if isinstance(x, (int, float)):
462462
return str(x)
463-
if isinstance(x, (HTML, str)):
463+
if isinstance(x, (HTML, str)): # type: ignore
464464
return x
465465
raise TypeError(
466466
f"Invalid type for attribute: {type(x)}."
@@ -1512,7 +1512,7 @@ def as_html_tags(
15121512
Render the dependency as a ``TagList()``.
15131513
"""
15141514
d = self.as_dict(lib_prefix=lib_prefix, include_version=include_version)
1515-
metas = [Tag("meta", **m) for m in self.meta]
1515+
metas = [Tag("meta", **m) for m in self.meta] # type: ignore
15161516
links = [Tag("link", **s) for s in d["stylesheet"]]
15171517
scripts = [Tag("script", **s) for s in d["script"]]
15181518
return TagList(*metas, *links, *scripts, self.head)

0 commit comments

Comments
 (0)