Context
We use poetry to track dependencies in our python project. We commit poetry.lock
into git.
I added recently one package with poetry add
. But then in diff I observed that poetry changed order to fields in the whole file generating a huge useless diff:
It goes like this for the whole lock file. Its main drawback is generation of conflicts when trying to merge.
Question
How can I force poetry
to use existing order of fields? Or what other solution do you propose to this problem?