Skip to content

Replace "import foo" by "from foo import SpecificFoo" #96

@brunorijsman

Description

@brunorijsman

Instead of importing entire modules everywhere:

import foo

Import specific things from each module:

from foo import SpecificFoo

This makes the code shorter and easier to read later on: instead of "foo.SpecificFoo" we can just use "SpecificFoo"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions