When a lower-level code layer imports something from a higher-level layer, code dependencies are created that increase code complexity and potentially make circular dependencies. Can pylint be used to enforce proper dependencies by analyzing each files Python imports?
Should investigate only - no implementation.
Investigate pylint's capabilities to fail upon an unwanted import, where unwanted is defined by a user.
Investigate any other tools which exist to enforce the same.