-
-
Notifications
You must be signed in to change notification settings - Fork 746
Revert "Sort imports in Phobos" #5479
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
Conversation
|
I think it's fine if we enforce sorting of the module list only of top-level imports only. |
Then people would get confused as well ;-) |
Nobody is going to be confused about not being forced to do something. Nothing is going to fail if the unittest imports are sorted. |
The entire point of the normalization is that we don't need to spend time anymore on nitpicking the order of imports and we do nitpick on sorted imports. |
|
You need to start somewhere ...
Yes - didn't you check the diff / my comments to it?
Because It makes sense in almost all cases and is thus easy to automate and is thus one thing less that drains a review. |
No. You need to STOP somewhere. Enforcing proper formatting and normalization at the cost of readability are on opposite sides of the line.
That's not what I meant. Do you actually waste time nitpicking on the order of selective imports? That does seems like a waste of time, with the other obvious answer to not do it.
|
|
Superseded by #5481 |
Reverts #5478
Rationale: