Fix errors reported by mypy

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-10-13 12:45:51 +02:00
commit bfd0544ff8
13 changed files with 68 additions and 71 deletions

View file

@ -287,7 +287,7 @@ class StringTree: # export
case _:
raise NotImplementedError(f'Matcher {match} is not yet implemented')
ret = []
ret: list[StringTree] = []
if depth_first:
__children()