diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ed81ad6..d436a7c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -72,10 +72,11 @@ repos: - flake8-implicit-str-concat - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.0 + rev: v1.7.1 hooks: - id: mypy args: [--no-strict-optional, --ignore-missing-imports, --allow-untyped-global] + additional_dependencies: [types-simplejson] exclude: ^(docs/) # # Check for missing licensing and copyright information. diff --git a/overpy/__init__.py b/overpy/__init__.py index 3117212..d9ae794 100644 --- a/overpy/__init__.py +++ b/overpy/__init__.py @@ -1421,7 +1421,7 @@ def __init__(self, result: Result): #: Current relation member object self.cur_relation_member: Optional[RelationMember] = None - def startElement(self, name: str, attrs: dict): + def startElement(self, name: Any, attrs: Any): """ Handle opening elements.