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

Autosort imports #992

Closed
pietermarsman opened this issue Jul 9, 2024 · 0 comments · Fixed by #995
Closed

Autosort imports #992

pietermarsman opened this issue Jul 9, 2024 · 0 comments · Fixed by #995
Labels
type: development Related to the development process for maintainers

Comments

@pietermarsman
Copy link
Member

pietermarsman commented Jul 9, 2024

At the moment imports are sorted in arbitrary order. By adding a formatter that autosorts imports, the code variability is reduced.

Also imports are relative, but pep8 recommends absolute imports.

E.g. use (isort).

@pietermarsman pietermarsman linked a pull request Jul 9, 2024 that will close this issue
5 tasks
@pietermarsman pietermarsman changed the title Add isort and autoflake formatters Autosort imports Jul 9, 2024
@pietermarsman pietermarsman added the type: development Related to the development process for maintainers label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: development Related to the development process for maintainers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant