Remove `type: ignore`
diff --git a/pre_commit_hooks/check_xml.py b/pre_commit_hooks/check_xml.py index eddfdf9..59b4d59 100644 --- a/pre_commit_hooks/check_xml.py +++ b/pre_commit_hooks/check_xml.py
@@ -14,8 +14,7 @@ for filename in args.filenames: try: with open(filename, 'rb') as xml_file: - # https://github.com/python/typeshed/pull/3725 - xml.sax.parse(xml_file, handler) # type: ignore + xml.sax.parse(xml_file, handler) except xml.sax.SAXException as exc: print(f'{filename}: Failed to xml parse ({exc})') retval = 1