[importlinter]
root_packages =
    baseaicore
# The forbidden modules below are external distributions, not submodules of baseaicore, so the
# graph has to include external packages for the contracts to be able to see them at all.
include_external_packages = True

[importlinter:contract:no-application-imports]
name = BaseAiCore must not import applications
type = forbidden
source_modules =
    baseaicore
forbidden_modules =
    freeweight
    loadcoach
    ideapress

[importlinter:contract:no-sibling-packages]
name = BaseAiCore must not import sibling suite packages
type = forbidden
source_modules =
    baseaicore
forbidden_modules =
    setspec
    modelrack
    sweatmeter
    weightsdb
    mirrorwall
