Skip to content

Commit cdd6a8d

Browse files
committed
Tighten up type of Deploy._process_exports
This is needed because the CovMerge constructor updates self.exports (which is generated with that function), so it needs the stricter dict type. We also know the key and value types, so we may as well give them as well. Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
1 parent cc9c1f1 commit cdd6a8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dvsim/job/deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def _subst_vars(self, ignored_subst_vars=None) -> None:
276276
ignore_error=False,
277277
)
278278

279-
def _process_exports(self) -> Mapping:
279+
def _process_exports(self) -> dict[str, str]:
280280
"""Convert 'exports' as a list of dicts in the HJson to a dict.
281281
282282
Exports is a list of key-value pairs that are to be exported to the

0 commit comments

Comments
 (0)