enhancementhelp wanted
Repository metrics
- Stars
- (84,934 stars)
- PR merge metrics
- (PR metrics pending)
Description
While it is not explicitly stated, the PyPA guide to the pyproject.toml file uses two spaces for the default indentation of TOML arrays - see https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-and-requirements. uv is currently using four spaces.
I know that uv is able to respect the existing indentation level in the pyproject.toml file (see https://github.com/astral-sh/uv/issues/5009) which is nice.
Nevertheless, I wanted to pose this as an open question as to what the default setting should be.
(The same discussion from Rye - https://github.com/astral-sh/rye/issues/1078)