mirror of https://github.com/astral-sh/uv
Resolves https://github.com/astral-sh/uv/issues/16719 `uv add` collapses multiple spaces before inline comments in `[project.dependencies]`, causing unrelated diffs and moving comments onto the wrong columns. This diff captures the exact whitespace padding that preceded each end-of-line comment when parsing the array and reuses it when formatting. --------- Co-authored-by: konstin <konstin@mailbox.org> |
||
|---|---|---|
| .. | ||
| src | ||
| tests/it | ||
| Cargo.toml | ||