`python3 -m mypy --strict-optional -c 'reveal_type([None] if bool() else [1])' <string>:1: error: Revealed type is 'builtins.list[builtins.int]'`