mirror of
https://github.com/release-engineering/repo-autoindex.git
synced 2025-02-23 05:32:56 +00:00
Avoid spurious mypy failure in latest xml type hints
startElement signature changed in the .pyi stubs for XML classes, triggering a mypy complaint here. Suppress it as there is no actual error here.
This commit is contained in:
parent
a015ae58d0
commit
137388d475
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class PackagesParser(ContentHandler):
|
|||
|
||||
return self.packages
|
||||
|
||||
def startElement(self, name: str, attrs: Mapping[str, Any]):
|
||||
def startElement(self, name: str, attrs: Mapping[str, Any]): # type: ignore
|
||||
self.current_path.append(name)
|
||||
LOG.debug("entering element %s", self.current_path)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue