Closed kajocina closed 1 year ago
Mypy started complaining about None not being a list (obviously)
definitely don't do this. Making mutable values as default parameters has lots of bad consequences.
The correct solution is to change the type annotation to Optional[List[str]]
Optional[List[str]]
Good catch, thx!
Mypy started complaining about None not being a list (obviously)