astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.82k stars 467 forks source link

Add dependency in alphabetical order #1021

Open impredicative opened 7 months ago

impredicative commented 7 months ago

Currently, when an entry is added to dependencies in pyproject.toml, it is added to the bottom of the list. It would look neater if it were added in alphabetical order instead. Currently I manually have to edit dependencies to ensure its entries stay sorted.