Enforce architectural import boundaries in Python codebases with Import Linter
Check whether a Python codebase still respects declared layered, independence, or forbidden import contracts.
Prerequisites
Python project, pip or Poetry environment
Installation
Requirements and caveats from upstream:
Lint your Python architecture.
Import Linter allows you to impose constraints on the imports between your Python modules.
Extracted from upstream docs: https://raw.githubusercontent.com/seddonym/import-linter/HEAD/README.md