Open inoa-jboliveira opened 2 days ago
Thanks! I hate comments.
In case it helps, I added "zeep" to the example above because if numpy were the last package, the comment would not be misplaced.
Yeah it is like that because when parsing with toml_edit
this kind of comment is not treated as "the suffix of the second entry", but as "the prefix to the last line", and the invariant that is sustained here after adding is that this is "the prefix to the last line" 🤯
uv 0.5.1 (f399a5271 2024-11-08)
When you have a comment after a dependency that is not the last one and a package is to be added right after it, the new package will take the comment for itself
Add new package that will be right after numpy
Unexpected