Skip to content

Commit

Permalink
chore: ignore mypy regression
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadNews committed Sep 28, 2023
1 parent ca2e661 commit 6b27e13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ repos:
- id: black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.5.1
hooks:
- id: mypy
additional_dependencies:
Expand Down
6 changes: 3 additions & 3 deletions src/dnfunc/dnfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ def override_dc(

if block_settings is not None:
# yaml main
data_class = replace(data_class, **block_settings["main"])
data_class = replace(data_class, **block_settings["main"]) # type: ignore [misc]

if zone and zone != "main":
# yaml zone
data_class = replace(data_class, **block_settings[zone])
data_class = replace(data_class, **block_settings[zone]) # type: ignore [misc]

# func params
return replace(data_class, **override)
return replace(data_class, **override) # type: ignore [misc]


######
Expand Down

0 comments on commit 6b27e13

Please sign in to comment.