is mypy supposed to catch import statements that a...
# contributing-to-airbyte
c
is mypy supposed to catch import statements that are wrong, right (e.g. trying to import a class that does not exist in the specified module)
u
it'll try to typecheck so probably would fail i guess yes?
u
huh. okay.
u
ImportError: cannot import name 'Source' from 'airbyte_protocol'
u
i’m getting errors like this at runtime.
u
which seems like it shouldn’t happen.
u
seems like they shoudl be caught in the compile step.
u
or mypy step.
u
i guess if the dependency isn’t loaded onto the docker image properly it might pass mypy step though but fail at runtime.
u
nope. ignore my last.