Skip to content

Commit c505cf0

Browse files
deltamarnixwpbonelli
authored andcommitted
Fix mypy
1 parent a155ce9 commit c505cf0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flopy4/mf6/converters.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Any, Tuple
2+
13
import numpy as np
24
import sparse
35
from numpy.typing import NDArray
@@ -27,9 +29,7 @@ def convert_array(value, self_, field) -> NDArray:
2729
if any(unresolved):
2830
raise ValueError(f"Couldn't resolve dims: {unresolved}")
2931

30-
# create array
31-
# TDOD: support other fill values, configurable by field?
32-
a = dict()
32+
a: dict[Tuple[Any, ...], Any] = dict()
3333

3434
def _get_nn(cellid):
3535
match len(cellid):

0 commit comments

Comments
 (0)