forbidden-import

Ban imports that cross configured package or module boundaries.

Message

Do not import across forbidden boundary ‘{boundary}’.

Settings

SettingDescriptionTypeDefault
forbidden_imports Import boundaries to forbid. Entries may be boundary or boundary|message. list []