Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Import all submodules into module #525

@kevihiiin

Description

@kevihiiin

The idea is to import all submodules for a module inside the __init__.py file for cleaner access to classes and functions. The module would behave like a big file with all its subclasses.

The proposal @feeds wrote loads all the submodules dynamically on startup. However some (probably all) IDEs fail to detect the dynamically loaded modules resulting in the linter to giving false errors of non-existing modules.


Let's test this with more people of our team whether this works with IDE linting or whether we need special configuration for this to work, which should then maybe be included in the repository.

Originally posted by @bjrne in #509

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions