I am using map to convert strings to lists:
lines = list(map(list, ['abc', 'def']))
assert lines == [['a', 'b', 'c'], ['d', 'e', 'f']]
Running mypy on this program gives the following error:
test.py:2: error: Argument 1 to "map" has incompatible type "Type[List[Any]]"; expected "Callable[[str], List[_T]]"
What hinting should I do to get rid of this message?