is there a reasonable python checker that checks imports - a broken import passes
py_compile, pyflakes, and pylance checks ...
this code has no warnings in visual studio, but crashes at runtime:
async def foo():
from os import thing_that_doesnt_exist as dothing
result = dothing()
return result
foo()
how could i check this code for correctness?