phml\virtual_python\import_objects.py:11: error: Missing return statement  [empty-body]
phml\virtual_python\import_objects.py:14: error: Missing return statement  [empty-body]
phml\virtual_python\import_objects.py:66: error: Incompatible return value type (got "ImportFrom", expected "Import")  [return-value]
phml\utils\transform\sanitize\schema.py:106: error: List item 1 has incompatible type "bool"; expected "str"  [list-item]
phml\utils\transform\sanitize\schema.py:191: error: Dict entry 0 has incompatible type "str": "Dict[str, object]"; expected "str": "Union[str, List[str]]"  [dict-item]
phml\virtual_python\vp.py:76: error: Statement is unreachable  [unreachable]
phml\virtual_python\vp.py:89: error: Argument 1 to "parse_ast_assign" has incompatible type "List[expr]"; expected "List[Union[Name, Tuple[Name]]]"  [arg-type]
phml\virtual_python\vp.py:130: error: "Match[str]" has no attribute "lstrip"  [attr-defined]
phml\virtual_python\vp.py:131: error: "Match[str]" has no attribute "split"  [attr-defined]
phml\virtual_python\vp.py:132: error: Argument 1 to "len" has incompatible type "Match[str]"; expected "Sized"  [arg-type]
phml\virtual_python\vp.py:134: error: "Match[str]" has no attribute "__iter__" (not iterable)  [attr-defined]
phml\virtual_python\vp.py:139: error: Incompatible return value type (got "List[str]", expected "str")  [return-value]
phml\virtual_python\vp.py:166: error: Incompatible types in assignment (expression has type "bool", variable has type "str")  [assignment]
phml\nodes\node.py:28: error: Incompatible types in assignment (expression has type "Optional[Position]", variable has type "Position")  [assignment]
phml\nodes\root.py:40: error: Item "Element" of "Union[Element, DocType, Comment, Text]" has no attribute "stringify"  [union-attr]
phml\nodes\element.py:65: error: Need type annotation for "locals" (hint: "locals: Dict[<type>, <type>] = ...")  [var-annotated]
phml\nodes\element.py:97: error: Incompatible types in assignment (expression has type "str", variable has type "List[str]")  [assignment]
phml\nodes\element.py:99: error: Incompatible types in assignment (expression has type "str", variable has type "List[str]")  [assignment]
phml\nodes\element.py:103: error: Unsupported operand types for + ("str" and "List[str]")  [operator]
phml\nodes\element.py:111: error: Incompatible return value type (got "Optional[str]", expected "str")  [return-value]
phml\utils\travel.py:27: error: Need type annotation for "ancestors" (hint: "ancestors: List[<type>] = ...")  [var-annotated]
phml\utils\travel.py:28: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\travel.py:28: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\travel.py:29: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\travel.py:29: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\travel.py:30: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\travel.py:30: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\travel.py:67: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\travel.py:67: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\travel.py:68: error: Argument 1 to "visit_children" has incompatible type "Union[None, Element, Root, Any]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\validate\validate.py:21: error: Missing return statement  [return]
phml\utils\validate\validate.py:33: error: Parameterized generics cannot be used with class or instance checks  [misc]
phml\utils\validate\validate.py:33: error: Argument 2 to "isinstance" has incompatible type "object"; expected "Union[type, UnionType, Tuple[Union[type, UnionType, Tuple[Any, ...]], ...]]"  [arg-type]
phml\utils\validate\validate.py:37: error: Argument 2 to "hasattr" has incompatible type "Type[type]"; expected "str"  [arg-type]
phml\utils\validate\validate.py:47: error: Missing return statement  [return]
phml\utils\validate\validate.py:56: error: Missing return statement  [return]
phml\utils\validate\test.py:15: error: Unsupported left operand type for | ("None")  [operator]
phml\utils\validate\test.py:78: error: Parameterized generics cannot be used with class or instance checks  [misc]
phml\utils\validate\test.py:78: error: Argument 2 to "isinstance" has incompatible type "object"; expected "Union[type, UnionType, Tuple[Union[type, UnionType, Tuple[Any, ...]], ...]]"  [arg-type]
phml\utils\validate\test.py:81: error: Argument 2 to "isinstance" has incompatible type "_SpecialForm"; expected "Union[type, UnionType, Tuple[Union[type, UnionType, Tuple[Any, ...]], ...]]"  [arg-type]
phml\utils\validate\test.py:83: error: "None" not callable  [misc]
phml\utils\validate\test.py:83: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\validate\test.py:83: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "parent"  [union-attr]
phml\utils\transform\sanitize\clean.py:36: error: Item "None" of "Optional[Schema]" has no attribute "strip"  [union-attr]
phml\utils\transform\sanitize\clean.py:42: error: Item "None" of "Optional[Schema]" has no attribute "tag_names"  [union-attr]
phml\utils\transform\sanitize\clean.py:45: error: Argument 1 to "recurse_check_tag" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\transform\sanitize\clean.py:55: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:55: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:55: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:55: error: Item "None" of "Optional[Schema]" has no attribute "ancestors"  [union-attr]
phml\utils\transform\sanitize\clean.py:56: error: Item "Root" of "Union[Element, Root, None]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:56: error: Item "None" of "Union[Element, Root, None]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:56: error: Item "None" of "Optional[Schema]" has no attribute "ancestors"  [union-attr]
phml\utils\transform\sanitize\clean.py:56: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:56: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:56: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:60: error: Argument 1 to "recurse_check_ancestor" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\transform\sanitize\clean.py:67: error: Need type annotation for "valid_attrs" (hint: "valid_attrs: List[<type>] = ...")  [var-annotated]
phml\utils\transform\sanitize\clean.py:88: error: Item "None" of "Optional[Schema]" has no attribute "protocols"  [union-attr]
phml\utils\transform\sanitize\clean.py:90: error: Item "None" of "Optional[Schema]" has no attribute "protocols"  [union-attr]
phml\utils\transform\sanitize\clean.py:100: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:100: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:100: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:100: error: Item "None" of "Optional[Schema]" has no attribute "attributes"  [union-attr]
phml\utils\transform\sanitize\clean.py:101: error: Item "None" of "Optional[Schema]" has no attribute "attributes"  [union-attr]
phml\utils\transform\sanitize\clean.py:101: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:101: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:101: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:104: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:104: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:104: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:104: error: Item "None" of "Optional[Schema]" has no attribute "attributes"  [union-attr]
phml\utils\transform\sanitize\clean.py:104: error: Argument 2 to "build_remove_attr_list" has incompatible type "Union[List[Union[str, List[str]]], Any]"; expected "Dict[Any, Any]"  [arg-type]
phml\utils\transform\sanitize\clean.py:104: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:104: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:104: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:108: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:108: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:108: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:111: error: Argument 1 to "recurse_check_attributes" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\transform\sanitize\clean.py:115: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:115: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:115: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:115: error: Item "None" of "Optional[Schema]" has no attribute "required"  [union-attr]
phml\utils\transform\sanitize\clean.py:116: error: Item "None" of "Optional[Schema]" has no attribute "required"  [union-attr]
phml\utils\transform\sanitize\clean.py:116: error: Item "str" of "Union[str, List[str], Any]" has no attribute "items"  [union-attr]
phml\utils\transform\sanitize\clean.py:116: error: Item "List[str]" of "Union[str, List[str], Any]" has no attribute "items"  [union-attr]
phml\utils\transform\sanitize\clean.py:116: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:116: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:116: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "tag"  [union-attr]
phml\utils\transform\sanitize\clean.py:117: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:117: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:117: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:118: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:118: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:118: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\utils\transform\sanitize\clean.py:121: error: Argument 1 to "recurse_check_required" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\misc\inspect.py:55: error: Argument 1 to "signature" has incompatible type "Union[AST, Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]]"; expected "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]"  [arg-type]
phml\utils\misc\inspect.py:77: error: Argument 1 to "stringify_props" has incompatible type "Node"; expected "Element"  [arg-type]
phml\utils\misc\heading.py:18: error: Item "None" of "Optional[Match[str]]" has no attribute "group"  [union-attr]
phml\utils\misc\component.py:41: error: Need type annotation for "result"  [var-annotated]
phml\utils\misc\component.py:44: error: Item "None" of "Optional[List[Any]]" has no attribute "append"  [union-attr]
phml\utils\misc\component.py:46: error: Item "None" of "Optional[List[Any]]" has no attribute "append"  [union-attr]
phml\utils\misc\component.py:48: error: Item "None" of "Optional[List[Any]]" has no attribute "append"  [union-attr]
phml\utils\misc\component.py:63: error: Incompatible return value type (got "Dict[str, Optional[List[Any]]]", expected "Dict[str, Element]")  [return-value]
phml\utils\misc\classes.py:55: error: Incompatible return value type (got "None", expected "str")  [return-value]
phml\utils\locate\select.py:69: error: Argument 1 to "branch" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Element"  [arg-type]
phml\utils\locate\select.py:82: error: Argument 1 to "branch" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Element"  [arg-type]
phml\utils\locate\select.py:129: error: Argument 1 to "all_nodes" has incompatible type "Union[AST, Root, Element]"; expected "Element"  [arg-type]
phml\utils\locate\select.py:129: error: Argument 2 to "all_nodes" has incompatible type "Dict[Any, Any]"; expected "List[Any]"  [arg-type]
phml\utils\locate\select.py:184: error: Argument 1 to "branch" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Element"  [arg-type]
phml\utils\locate\select.py:197: error: Argument 1 to "branch" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Element"  [arg-type]
phml\utils\locate\select.py:243: error: Argument 1 to "all_nodes" has incompatible type "Union[AST, Root, Element]"; expected "Element"  [arg-type]
phml\utils\locate\select.py:243: error: Argument 2 to "all_nodes" has incompatible type "Dict[Any, Any]"; expected "List[Any]"  [arg-type]
phml\utils\locate\select.py:379: error: Invalid index type "str" for "str"; expected type "Union[SupportsIndex, slice]"  [index]
phml\utils\locate\select.py:399: error: Item "None" of "Optional[Match[str]]" has no attribute "group"  [union-attr]
phml\utils\locate\select.py:406: error: Item "Sequence[str]" of "Optional[Sequence[str]]" has no attribute "append"  [union-attr]
phml\utils\locate\select.py:406: error: Item "None" of "Optional[Sequence[str]]" has no attribute "append"  [union-attr]
phml\utils\locate\select.py:417: error: Unsupported right operand type for in ("Optional[Sequence[str]]")  [operator]
phml\utils\locate\select.py:418: error: Item "Sequence[str]" of "Optional[Sequence[str]]" has no attribute "append"  [union-attr]
phml\utils\locate\select.py:418: error: Item "None" of "Optional[Sequence[str]]" has no attribute "append"  [union-attr]
phml\utils\locate\select.py:424: error: "str" has no attribute "group"  [attr-defined]
phml\utils\locate\select.py:435: error: Need type annotation for "element"  [var-annotated]
phml\utils\locate\select.py:442: error: Incompatible types in assignment (expression has type "str", target has type "Optional[List[Any]]")  [assignment]
phml\utils\locate\select.py:449: error: Item "None" of "Optional[List[Any]]" has no attribute "append"  [union-attr]
phml\utils\locate\select.py:489: error: Argument 1 to "append" of "list" has incompatible type "Dict[Any, Any]"; expected "str"  [arg-type]
phml\utils\locate\select.py:491: error: Argument 1 to "append" of "list" has incompatible type "Dict[Any, Any]"; expected "str"  [arg-type]
phml\utils\locate\select.py:493: error: Incompatible return value type (got "List[str]", expected "Dict[Any, Any]")  [return-value]
phml\utils\locate\index.py:35: error: Argument 1 to "walk" has incompatible type "Union[AST, Root, Element]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\transform\transform.py:39: error: Item "Root" of "Union[Root, Element, AST]" has no attribute "tree"  [union-attr]
phml\utils\transform\transform.py:39: error: Item "Element" of "Union[Root, Element, AST]" has no attribute "tree"  [union-attr]
phml\utils\transform\transform.py:61: error: Item "Root" of "Union[Root, Element, AST]" has no attribute "tree"  [union-attr]
phml\utils\transform\transform.py:61: error: Item "Element" of "Union[Root, Element, AST]" has no attribute "tree"  [union-attr]
phml\utils\transform\transform.py:94: error: Item "Root" of "Union[Root, Element, AST]" has no attribute "tree"  [union-attr]
phml\utils\transform\transform.py:94: error: Item "Element" of "Union[Root, Element, AST]" has no attribute "tree"  [union-attr]
phml\utils\transform\transform.py:96: error: Argument 1 to "walk" has incompatible type "Union[Root, Element, AST]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\transform\transform.py:129: error: Missing return statement  [return]
phml\utils\transform\transform.py:193: error: Argument 1 to "visit_children" has incompatible type "Union[AST, Element, Root]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\locate\find.py:36: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")  [assignment]
phml\utils\locate\find.py:45: error: Statement is unreachable  [unreachable]
phml\utils\locate\find.py:65: error: Argument 1 to "walk" has incompatible type "Union[Root, Element, AST]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\locate\find.py:86: error: Argument 1 to "walk" has incompatible type "Union[Root, Element, AST]"; expected "Union[Root, Element]"  [arg-type]
phml\utils\locate\find.py:110: error: Item "AST" of "Union[Root, Element, AST]" has no attribute "parent"  [union-attr]
phml\utils\locate\find.py:110: error: Item "None" of "Union[None, Element, Root, Any]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:110: error: Argument 1 to "index" of "list" has incompatible type "Union[Root, Element, AST]"; expected "Union[Element, DocType, Comment, Text]"  [arg-type]
phml\utils\locate\find.py:111: error: Item "AST" of "Union[Root, Element, AST]" has no attribute "parent"  [union-attr]
phml\utils\locate\find.py:111: error: Item "None" of "Union[None, Element, Root, Any]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:112: error: Item "AST" of "Union[Root, Element, AST]" has no attribute "parent"  [union-attr]
phml\utils\locate\find.py:112: error: Item "None" of "Union[None, Element, Root, Any]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:135: error: Item "None" of "Union[Element, Root, None]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:138: error: Item "None" of "Union[Element, Root, None]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:139: error: Item "None" of "Union[Element, Root, None]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:167: error: Item "None" of "Union[Element, Root, None]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:169: error: Item "None" of "Union[Element, Root, None]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:192: error: Item "None" of "Union[Element, Root, None]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:196: error: Item "None" of "Union[Element, Root, None]" has no attribute "children"  [union-attr]
phml\utils\locate\find.py:234: error: Argument 2 to "range" has incompatible type "Optional[int]"; expected "SupportsIndex"  [arg-type]
phml\utils\locate\find.py:234: error: Argument 1 to "range" has incompatible type "Optional[int]"; expected "SupportsIndex"  [arg-type]
phml\builder.py:21: error: Parameterized generics cannot be used with class or instance checks  [misc]
phml\builder.py:21: error: Argument 2 to "isinstance" has incompatible type "object"; expected "Union[type, UnionType, Tuple[Union[type, UnionType, Tuple[Any, ...]], ...]]"  [arg-type]
phml\builder.py:22: error: Item "List[Any]" of "Union[List[Any], Node]" has no attribute "parent"  [union-attr]
phml\builder.py:22: error: Item "Node" of "Union[List[Any], Node]" has no attribute "parent"  [union-attr]
phml\builder.py:30: error: Parameterized generics cannot be used with class or instance checks  [misc]
phml\builder.py:30: error: Argument 2 to "isinstance" has incompatible type "object"; expected "Union[type, UnionType, Tuple[Union[type, UnionType, Tuple[Any, ...]], ...]]"  [arg-type]
phml\builder.py:47: error: Parameterized generics cannot be used with class or instance checks  [misc]
phml\builder.py:47: error: Argument 2 to "isinstance" has incompatible type "Tuple[Type[str], Type[List[Any]], Type[int], object]"; expected "Union[type, UnionType, Tuple[Union[type, UnionType, Tuple[Any, ...]], ...]]"  [arg-type]
phml\builder.py:50: error: Subclass of "List[Any]" and "Dict[Any, Any]" cannot exist: would have incompatible method signatures  [unreachable]
phml\builder.py:50: error: Subclass of "int" and "Dict[Any, Any]" cannot exist: would have incompatible method signatures  [unreachable]
phml\builder.py:66: error: Statement is unreachable  [unreachable]
phml\builder.py:70: error: Argument 2 to "parse_node" has incompatible type "List[Union[str, List[Any], int, Node]]"; expected "Dict[Any, Any]"  [arg-type]
phml\builder.py:115: error: Incompatible types in assignment (expression has type "Element", variable has type "Dict[Any, Any]")  [assignment]
phml\utils\transform\extract.py:36: error: Incompatible return value type (got "None", expected "str")  [return-value]
phml\core\parser\hypertext_markup_parser.py:40: error: Argument 1 to "build_point" has incompatible type "Tuple[int, int, Optional[int]]"; expected "Tuple[int, int]"  [arg-type]
phml\core\parser\hypertext_markup_parser.py:85: error: Incompatible types in assignment (expression has type "str", variable has type "List[str]")  [assignment]
phml\core\parser\hypertext_markup_parser.py:91: error: Incompatible types in assignment (expression has type "str", variable has type "List[str]")  [assignment]
phml\core\parser\hypertext_markup_parser.py:93: error: Incompatible types in assignment (expression has type "str", variable has type "List[str]")  [assignment]
phml\core\parser\hypertext_markup_parser.py:95: error: Incompatible return value type (got "Tuple[List[str], int, int]", expected "Tuple[str, int, int]")  [return-value]
phml\core\parser\hypertext_markup_parser.py:124: error: Argument 1 to "build_position" has incompatible type "Tuple[int, int]"; expected "Tuple[int, int, Optional[int]]"  [arg-type]
phml\core\parser\hypertext_markup_parser.py:124: error: Argument 2 to "build_position" has incompatible type "Tuple[int, int]"; expected "Tuple[int, int, Optional[int]]"  [arg-type]
phml\core\parser\hypertext_markup_parser.py:132: error: Argument 1 to "build_position" has incompatible type "Tuple[int, int]"; expected "Tuple[int, int, Optional[int]]"  [arg-type]
phml\core\parser\hypertext_markup_parser.py:132: error: Argument 2 to "build_position" has incompatible type "Tuple[int, int]"; expected "Tuple[int, int, Optional[int]]"  [arg-type]
phml\core\parser\hypertext_markup_parser.py:143: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
phml\core\parser\hypertext_markup_parser.py:165: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
phml\core\parser\hypertext_markup_parser.py:225: error: Argument 1 to "build_position" has incompatible type "Tuple[int, int]"; expected "Tuple[int, int, Optional[int]]"  [arg-type]
phml\core\parser\hypertext_markup_parser.py:226: error: Argument 2 to "build_position" has incompatible type "Tuple[int, int]"; expected "Tuple[int, int, Optional[int]]"  [arg-type]
phml\core\compile\util.py:40: error: "Node" has no attribute "properties"  [attr-defined]
phml\core\compile\util.py:43: error: "Node" has no attribute "properties"  [attr-defined]
phml\core\compile\util.py:45: error: "Node" has no attribute "properties"  [attr-defined]
phml\core\compile\util.py:47: error: "Node" has no attribute "properties"  [attr-defined]
phml\core\compile\util.py:50: error: "Node" has no attribute "properties"  [attr-defined]
phml\core\compile\util.py:53: error: "Node" has no attribute "children"  [attr-defined]
phml\core\compile\util.py:55: error: Value of type "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" is not indexable  [index]
phml\core\compile\util.py:57: error: "Node" has no attribute "parent"  [attr-defined]
phml\core\compile\util.py:60: error: Argument 1 to "__has_py_condition" has incompatible type "Node"; expected "Element"  [arg-type]
phml\core\compile\util.py:65: error: "Node" has no attribute "parent"  [attr-defined]
phml\core\compile\util.py:66: error: "Node" has no attribute "parent"  [attr-defined]
phml\core\compile\util.py:67: error: "Node" has no attribute "parent"  [attr-defined]
phml\core\compile\util.py:69: error: Value of type "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" is not indexable  [index]
phml\core\compile\util.py:69: error: "Node" has no attribute "tag"  [attr-defined]
phml\core\compile\util.py:70: error: Value of type "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" is not indexable  [index]
phml\core\compile\util.py:70: error: "Node" has no attribute "tag"  [attr-defined]
phml\core\compile\util.py:71: error: Value of type "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" is not indexable  [index]
phml\core\compile\util.py:71: error: "Node" has no attribute "tag"  [attr-defined]
phml\core\compile\util.py:74: error: "Node" has no attribute "parent"  [attr-defined]
phml\core\compile\util.py:107: error: Argument 1 to "process_conditions" has incompatible type "Union[Root, Element, AST]"; expected "Union[Root, Element]"  [arg-type]
phml\core\compile\util.py:133: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:133: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:133: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:134: error: Argument 1 to "replace_node" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Union[Root, Element]"  [arg-type]
phml\core\compile\util.py:134: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:134: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:134: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:137: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:137: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:137: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:140: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:140: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:140: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:143: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:143: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:143: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:145: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:145: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:145: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:147: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:147: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:147: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:150: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:150: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:150: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:152: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:152: error: Item "Comment" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:152: error: Item "Text" of "Union[Element, DocType, Comment, Text]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:153: error: Argument 1 to "process_children" has incompatible type "Union[Element, DocType, Comment, Text]"; expected "Union[Root, Element]"  [arg-type]
phml\core\compile\util.py:156: error: Item "Root" of "Union[Element, Root, None]" has no attribute "tag"  [union-attr]
phml\core\compile\util.py:156: error: Item "None" of "Union[Element, Root, None]" has no attribute "tag"  [union-attr]
phml\core\compile\util.py:157: error: Item "Element" of "Union[Element, DocType, Comment, Text]" has no attribute "value"  [union-attr]
phml\core\compile\util.py:157: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "value"  [union-attr]
phml\core\compile\util.py:159: error: Item "Element" of "Union[Element, DocType, Comment, Text]" has no attribute "value"  [union-attr]
phml\core\compile\util.py:159: error: Item "DocType" of "Union[Element, DocType, Comment, Text]" has no attribute "value"  [union-attr]
phml\core\compile\util.py:161: error: Argument 1 to "process_children" has incompatible type "Union[Root, Element, AST]"; expected "Union[Root, Element]"  [arg-type]
phml\core\compile\util.py:166: error: Incompatible return value type (got "List[str]", expected "bool")  [return-value]
phml\core\compile\util.py:194: error: Argument 1 to "len" has incompatible type "bool"; expected "Sized"  [arg-type]
phml\core\compile\util.py:195: error: Value of type "bool" is not indexable  [index]
phml\core\compile\util.py:206: error: Argument 1 to "len" has incompatible type "bool"; expected "Sized"  [arg-type]
phml\core\compile\util.py:207: error: Value of type "bool" is not indexable  [index]
phml\core\compile\util.py:210: error: Value of type "bool" is not indexable  [index]
phml\core\compile\util.py:217: error: Value of type "bool" is not indexable  [index]
phml\core\compile\util.py:218: error: Argument 1 to "len" has incompatible type "bool"; expected "Sized"  [arg-type]
phml\core\compile\util.py:223: error: Argument 1 to "execute_conditions" has incompatible type "List[Tuple[Any, Any]]"; expected "List[Tuple[Any, ...]]"  [arg-type]
phml\core\compile\util.py:223: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
phml\core\compile\util.py:223: note: Consider using "Sequence" instead, which is covariant
phml\core\compile\util.py:379: error: Item "Root" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:379: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:379: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:379: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:379: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:379: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:379: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "locals"  [union-attr]
phml\core\compile\util.py:445: error: Item "None" of "Union[Element, Root, None]" has no attribute "type"  [union-attr]
phml\core\compile\util.py:460: error: Item "Root" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:460: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:460: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:460: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:460: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:460: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:460: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:468: error: Item "None" of "Optional[Match[str]]" has no attribute "group"  [union-attr]
phml\core\compile\util.py:494: error: Item "Root" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:494: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:494: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:494: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:494: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:494: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:494: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "properties"  [union-attr]
phml\core\compile\util.py:496: error: Incompatible types in assignment (expression has type "None", variable has type "Position")  [assignment]
phml\core\compile\util.py:515: error: Incompatible return value type (got "object", expected "List[Any]")  [return-value]
phml\core\parser\__init__.py:80: error: Incompatible types in assignment (expression has type "None", variable has type "AST")  [assignment]
phml\core\parser\__init__.py:114: error: Incompatible types in assignment (expression has type "None", variable has type "AST")  [assignment]
phml\core\compile\convert.py:46: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:46: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:46: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:46: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:46: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:47: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:47: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:47: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:47: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:47: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:48: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:48: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:48: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:48: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:48: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:48: error: Item "Element" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "value"  [union-attr]
phml\core\compile\convert.py:48: error: Item "DocType" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "value"  [union-attr]
phml\core\compile\convert.py:53: error: Argument 2 to "replace_components" has incompatible type "Dict[str, Dict[str, Union[List[Any], Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]]]]"; expected "Dict[str, Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]]"  [arg-type]
phml\core\compile\convert.py:56: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:56: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:56: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:56: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:56: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:57: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:57: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:57: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:57: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:57: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:58: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:58: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:58: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:58: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:58: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:58: error: Item "Element" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "value"  [union-attr]
phml\core\compile\convert.py:58: error: Item "DocType" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "value"  [union-attr]
phml\core\compile\convert.py:88: error: "Position" has no attribute "as_dict"  [attr-defined]
phml\core\compile\convert.py:93: error: Incompatible types in assignment (expression has type "List[<nothing>]", target has type "str")  [assignment]
phml\core\compile\convert.py:95: error: "str" has no attribute "append"  [attr-defined]
phml\core\compile\convert.py:112: error: Item "Root" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "startend"  [union-attr]
phml\core\compile\convert.py:112: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "startend"  [union-attr]
phml\core\compile\convert.py:112: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "startend"  [union-attr]
phml\core\compile\convert.py:112: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "startend"  [union-attr]
phml\core\compile\convert.py:112: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "startend"  [union-attr]
phml\core\compile\convert.py:112: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "startend"  [union-attr]
phml\core\compile\convert.py:112: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "startend"  [union-attr]
phml\core\compile\convert.py:113: error: Item "Root" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:113: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:113: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:113: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:113: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:113: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:113: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:116: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:116: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:116: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:116: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:116: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:117: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:117: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:117: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:117: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:117: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:118: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:118: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:118: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:118: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:118: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:118: error: Item "Element" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "num_lines"  [union-attr]
phml\core\compile\convert.py:118: error: Item "DocType" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "num_lines"  [union-attr]
phml\core\compile\convert.py:118: error: Item "Comment" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "num_lines"  [union-attr]
phml\core\compile\convert.py:123: error: Item "Root" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:123: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:123: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:123: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:123: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:123: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:123: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:124: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:124: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:124: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:124: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:124: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:124: error: Item "Element" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "stringify"  [union-attr]
phml\core\compile\convert.py:125: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:125: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:125: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:125: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:125: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "children"  [union-attr]
phml\core\compile\convert.py:125: error: Item "Element" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "num_lines"  [union-attr]
phml\core\compile\convert.py:125: error: Item "DocType" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "num_lines"  [union-attr]
phml\core\compile\convert.py:125: error: Item "Comment" of "Union[Element, DocType, Comment, Text, Any]" has no attribute "num_lines"  [union-attr]
phml\core\compile\convert.py:127: error: Item "Root" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:127: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:127: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:127: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:127: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:127: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:127: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:132: error: Item "Root" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:132: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:132: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:132: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:132: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:132: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:132: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "start_tag"  [union-attr]
phml\core\compile\convert.py:133: error: Argument 1 to "visit_children" has incompatible type "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]"; expected "Union[Root, Element]"  [arg-type]
phml\core\compile\convert.py:138: error: Item "Root" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:138: error: Item "Text" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:138: error: Item "Comment" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:138: error: Item "DocType" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:138: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:138: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:138: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "end_tag"  [union-attr]
phml\core\compile\convert.py:140: error: Argument 1 to "visit_children" has incompatible type "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]"; expected "Union[Root, Element]"  [arg-type]
phml\core\compile\convert.py:143: error: Item "Element" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "stringify"  [union-attr]
phml\core\compile\convert.py:143: error: Item "Parent" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "stringify"  [union-attr]
phml\core\compile\convert.py:143: error: Item "Node" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "stringify"  [union-attr]
phml\core\compile\convert.py:143: error: Item "Literal" of "Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]" has no attribute "stringify"  [union-attr]
phml\core\compile\convert.py:143: error: Too many arguments for "stringify" of "Root"  [call-arg]
phml\core\compile\__init__.py:30: error: Incompatible types in assignment (expression has type "Optional[AST]", variable has type "AST")  [assignment]
phml\core\compile\__init__.py:61: error: Incompatible types in assignment (expression has type "Dict[str, Element]", target has type "Dict[str, Union[List[Any], Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]]]")  [assignment]
phml\core\compile\__init__.py:66: error: Incompatible types in assignment (expression has type "Dict[str, Element]", target has type "Dict[str, Union[List[Any], Union[Root, Element, Text, Comment, DocType, Parent, Node, Literal]]]")  [assignment]
phml\core\compile\__init__.py:86: error: Parameterized generics cannot be used with class or instance checks  [misc]
phml\core\compile\__init__.py:86: error: Argument 2 to "isinstance" has incompatible type "object"; expected "Union[type, UnionType, Tuple[Union[type, UnionType, Tuple[Any, ...]], ...]]"  [arg-type]
phml\core\compile\__init__.py:87: error: Unpacking a string is disallowed  [misc]
phml\core\compile\__init__.py:88: error: Cannot determine type of "value"  [has-type]
phml\core\compile\__init__.py:89: error: Cannot determine type of "key"  [has-type]
phml\core\compile\__init__.py:92: error: Cannot determine type of "value"  [has-type]
phml\core\compile\__init__.py:93: error: Cannot determine type of "key"  [has-type]
Found 404 errors in 25 files (checked 46 source files)
