Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decide on a Python import style #25

Open
jdeanwallace opened this issue May 24, 2024 · 0 comments
Open

Decide on a Python import style #25

jdeanwallace opened this issue May 24, 2024 · 0 comments

Comments

@jdeanwallace
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant