Closed mr-c closed 10 months ago
Although, hang on – is that really needed? The argument has a default value, so it's clearly optional.
Although, hang on – is that really needed? The argument has a default value, so it's clearly optional.
mypy
versions after 0.600 does require explicit marking of optional inputs. Also, the stub doesn't currently list the default value so that couldn't be inferred anyhow.
https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict-optional has a (slightly confusing) explanation
Superseded by #97
Thanks!
Looks good.