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

Rearrange imports #92

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Rearrange imports #92

merged 1 commit into from
Dec 18, 2023

Conversation

bswck
Copy link
Contributor

@bswck bswck commented Dec 18, 2023

No description provided.

@bswck
Copy link
Contributor Author

bswck commented Dec 18, 2023

I've just observed the following diff

-from . import deps
-from . import commands
-from . import launch
-from . import scripts
+from . import commands, deps, launch, scripts

This changes the convention quite. Is this stylistic change OK? Or should I maybe bring back one-item-per-import?

@jaraco
Copy link
Owner

jaraco commented Dec 18, 2023

I've just observed the following diff

-from . import deps
-from . import commands
-from . import launch
-from . import scripts
+from . import commands, deps, launch, scripts

This changes the convention quite. Is this stylistic change OK? Or should I maybe bring back one-item-per-import?

If that's the recommended convention, my preference is to adapt to it rather than fight it.

@jaraco jaraco merged commit 9d7c9ee into jaraco:main Dec 18, 2023
16 checks passed
@bswck bswck deleted the sort-imports branch June 19, 2024 19:35
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

Successfully merging this pull request may close these issues.

2 participants