We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
type: ignore
1 parent 2322277 commit c03ac57Copy full SHA for c03ac57
pre_commit_hooks/check_xml.py
@@ -14,8 +14,7 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
14
for filename in args.filenames:
15
try:
16
with open(filename, 'rb') as xml_file:
17
- # https://github.com/python/typeshed/pull/3725
18
- xml.sax.parse(xml_file, handler) # type: ignore
+ xml.sax.parse(xml_file, handler)
19
except xml.sax.SAXException as exc:
20
print(f'{filename}: Failed to xml parse ({exc})')
21
retval = 1
0 commit comments