- Sort lines in
[project.dependencies]
section.
- Support Poetry version 2.0.
- Read the updated pyproject.toml file before sorting dependencies (#15)
- Added a
--check
option to verify if dependencies are already sorted. - New environment variable
POETRY_SORT_ENABLED
to enable or disable sorting inpoetry init
,poetry add
commands. - New environment variable
POETRY_SORT_MOVE_OPTIONALS_TO_BOTTOM
to move optional packages to the bottom.
- Support for
poetry remove
command.
- Attached comment lines to a package below instead of moving all comment lines to the top of the section
- Added
poetry sort
command to sort dependencies.
- Implemented dependencies sorting after calling
poetry init
,poetry add
, andpoetry remove
commands.