Closed ioudas closed 1 month ago
I'm surprised that no tool seems to regard this code as bad, since it makes git unnecessary conflicts:
from A import alpha, beta
This will create manual git conflicts for anyone changing the import.
Is there any tool that autoformats above code to:
from A import (alpha, beta)
Thanks for any tips
I wrote reorder-python-imports -- there's also settings for isort to do this
isort
I'm surprised that no tool seems to regard this code as bad, since it makes git unnecessary conflicts:
This will create manual git conflicts for anyone changing the import.
Is there any tool that autoformats above code to:
Thanks for any tips