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: