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

Reorder import statements #3130

Closed
cathaysia opened this issue Jun 21, 2022 · 1 comment
Closed

Reorder import statements #3130

cathaysia opened this issue Jun 21, 2022 · 1 comment
Labels
R: duplicate This issue or pull request already exists T: enhancement New feature or request

Comments

@cathaysia
Copy link

For golang projects, the formatter can reorder import statements, which makes the code look cleaner.

For C++ projects, the code style also contains guidance on the order of include statements.

That being the case, why doesn't black consider reordering the Import statements?

@cathaysia cathaysia added the T: enhancement New feature or request label Jun 21, 2022
@cathaysia
Copy link
Author

close by #333

@ichard26 ichard26 added the R: duplicate This issue or pull request already exists label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R: duplicate This issue or pull request already exists T: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants