Skip to content

Commit 9f0e4f5

Browse files
ci - pre-commit autoupdate (#114)
* ci - pre-commit autoupdate updates: - [github.com/pre-commit/mirrors-mypy: v1.6.0 → v1.7.1](pre-commit/mirrors-mypy@v1.6.0...v1.7.1) * ci - Add MyPy dependencies * src - Fix type errors --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: PhiBo <phibo@dinotools.org>
1 parent 719d4ce commit 9f0e4f5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,11 @@ repos:
7272
- flake8-implicit-str-concat
7373

7474
- repo: https://github.com/pre-commit/mirrors-mypy
75-
rev: v1.6.0
75+
rev: v1.7.1
7676
hooks:
7777
- id: mypy
7878
args: [--no-strict-optional, --ignore-missing-imports, --allow-untyped-global]
79+
additional_dependencies: [types-simplejson]
7980
exclude: ^(docs/)
8081

8182
# # Check for missing licensing and copyright information.

overpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ def __init__(self, result: Result):
14211421
#: Current relation member object
14221422
self.cur_relation_member: Optional[RelationMember] = None
14231423

1424-
def startElement(self, name: str, attrs: dict):
1424+
def startElement(self, name: Any, attrs: Any):
14251425
"""
14261426
Handle opening elements.
14271427

0 commit comments

Comments
 (0)