▲ | zelphirkalt 4 days ago | |
Developing a good and configurable formatter is a project almost as complex as uv's main focus, managing packages. As such it will divert time and attention from its main purpose and the outcome is questionable, considering how many bad formatters are out there. For example the "opinionated" black is terrible and has no awareness of semantics. | ||
▲ | charliermarsh 4 days ago | parent | next [-] | |
We already develop a formatter: Ruff (https://github.com/astral-sh/ruff). Ruff and uv are built by the same team. `uv format` is just an optional front-end to `ruff format`. | ||
▲ | alfons_foobar 4 days ago | parent | prev [-] | |
The formatter already exists, my understanding is that this is merely an alias for "uvx ruff"... |