Skip to content

Commit

Permalink
ci - pre-commit autoupdate (#114)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and phibos authored Dec 18, 2023
1 parent 719d4ce commit 9f0e4f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion overpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9f0e4f5

Please sign in to comment.