Apply suggestions from code review.

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
Felix Fontein
2025-12-01 07:16:21 +01:00
committed by GitHub
parent 65f546b4fd
commit f6eb6d743d
5 changed files with 11 additions and 11 deletions

View File

@@ -204,7 +204,7 @@ class VarDict:
def output(self, verbosity: int = 0) -> dict[str, t.Any]:
return {n: v.value for n, v in self.__vars__.items() if v.output and v.is_visible(verbosity)}
def diff(self, verbosity: int = 0) -> dict[str, t.Any] | None:
def diff(self, verbosity: int = 0) -> dict[str, dict[str, t.Any]] | None:
diff_results = [
(n, v.diff_result) for n, v in self.__vars__.items() if v.diff_result and v.is_visible(verbosity)
]