Closed jayvdb closed 1 year ago
Hmm, I'm going to have to think about this one a little bit. The ordering of dependencies is nice (I've been trying to keep them ordered manually, but obviously I haven't fully succeeded), but I don't love the re-ordering of other sections.
Looks like taplo can be used per https://github.com/tamasfe/taplo/issues/382#issuecomment-1444008846 .
I'll update this PR after https://github.com/Electron100/butane/pull/52 & https://github.com/Electron100/butane/pull/51 are merged.
I've updated this. I havent built CI to enforce it yet - there are only a few contributors atm, so not a high priority atm.
Followup to https://github.com/Electron100/butane/pull/39, this uses
reorder_keys
. No worries if you reject because it also changes the package metadata sections. If rejected, I'll see if I can find another tool which can reorder only the dependencies.