Set is_pyi
if stdin_filename
ends with .pyi
#2169
Merged
is_pyi
if stdin_filename
ends with .pyi
#2169