Skip to content

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

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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