Closed
Description
We'd require an explicit optional argument type in cases like this:
def f(x: int = None) -> None:
...
Currently this is accepted by mypy, unless --no-implicit-optional
is used. The idea would be to make --no-implicit-optional
the default, and --implicit-optional
can be used to get back to the current default behavior.