Closed microbit-matt-hillsdon closed 2 years ago
Feels like a bit of a hack, but from . import X is defined to make X available to Pyright so we need to avoid that pattern when importing from __init__. We don't have the freedom to restructure so avoid it with ..microbit.
from . import X
__init__
Feels like a bit of a hack, but
from . import X
is defined to make X available to Pyright so we need to avoid that pattern when importing from__init__
. We don't have the freedom to restructure so avoid it with ..microbit.