Skip to content

Commit c03ac57

Browse files
committed
Remove type: ignore
1 parent 2322277 commit c03ac57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pre_commit_hooks/check_xml.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
1414
for filename in args.filenames:
1515
try:
1616
with open(filename, 'rb') as xml_file:
17-
# https://github.com/python/typeshed/pull/3725
18-
xml.sax.parse(xml_file, handler) # type: ignore
17+
xml.sax.parse(xml_file, handler)
1918
except xml.sax.SAXException as exc:
2019
print(f'{filename}: Failed to xml parse ({exc})')
2120
retval = 1

0 commit comments

Comments
 (0)