Skip to content

Commit

Permalink
feat(deps): update pre-commit hook pre-commit/mirrors-mypy to v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and ryshu committed Oct 16, 2023
1 parent 0582fe8 commit 4be382a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ repos:
args: ["--py38-plus"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.1
rev: v1.6.0
hooks:
- id: mypy
args: ["--ignore-missing-imports", "novu"]
Expand Down
2 changes: 1 addition & 1 deletion novu/dto/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class CamelCaseDto(Generic[_T]):
@classmethod
def from_camel_case(cls: Type[_T], data: dict) -> _T:
"""Helper to parse a camel case dict"""
fields = {f.name: f.type for f in dataclasses.fields(cls)}
fields = {f.name: f.type for f in dataclasses.fields(cls)} # type: ignore[arg-type]
kwargs = {}
for key, val in data.items():
_key = camel_case_to_snake_case(key)
Expand Down

0 comments on commit 4be382a

Please sign in to comment.