Skip to content

Decide on a Python import style #25

Open
@jdeanwallace

Description

@jdeanwallace

As mentioned in a recent PR review, Jan and I both remember having a style rule where we prefer Python imports that look this:

import x.y
...
x.y.z()

Over this:

from x.y import z
...
z()

But we're not sure where this rule came from or where it was written. Either way, we should decide on an import style and stick to it moving forward.

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