if TYPE_CHECKING:
# Otherwise we have a circular dependency:
# BuildConfig needs ToolBox which imports __init__ which imports this
from fab.build_config import BuildConfig
And in both cases, (psyclone.py and build_config.py) the import is used for tying, i.e. we can't simple use a local import :(
ATM, in
tools/psyclone.py
, we have to use:And in both cases, (
psyclone.py
andbuild_config.py
) the import is used for tying, i.e. we can't simple use a local import :(