repo-autoindex/repo_autoindex
Rohan McGovern 3f478e76f7 Fix type check with latest mypy/typeshed
The following commit defined a return type hint for
getElementsByTagName:

3fc2f27990 (diff-f451f731d037ef9d79347194490b32ba613798ea7eaa2c160351a69625f05e08R150)

It defined the return type as a list of Node, while this code expects a
list of Element (Element is a subtype of Node).

Given that one would expect a getElements method to return
specifically *elements* and not other types of node, I think the
typeshed change may be incorrect, but it's hard to be sure since the
stdlib docs themselves are ambiguous.

Suppress it for now to unblock dependency updates.
2023-04-19 13:57:11 +10:00
..
_impl Fix type check with latest mypy/typeshed 2023-04-19 13:57:11 +10:00
__init__.py Implement error handling 2022-08-09 08:51:06 +10:00