Skip to content

Support handling implicit dependencies from __init__.pyΒ #703

@msu-reevo

Description

@msu-reevo

We recently saw issues with implicit dependencies being imported from __init__.py

Example:

  • app/module/__init__.py
  • app/module/workflows/fragile.py
  • the second one will implicitly import anything from the __init__.py which the person in the fragile.py is not aware of from reading the code.

Would love to be able to report the implicit dependencies or block imports or apply layer or import rules to them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions