Open my1e5 opened 4 months ago
I'm open to it but I'm not sure what the pyproject.toml
recommendations are.
I don't see a specific recommendation, but they do use two spaces in the docs https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
Currently
rye
uses 4 spaces for indentation levels when working withpyproject.toml
.While it is not explicitly stated, the examples in the official TOML specification use two spaces for indentation levels.
See https://toml.io/en/v1.0.0#array
Many popular TOML formatting tools also use 2 spaces for their default indentation value.
pretty-format-toml
Pre-commit hook (see defaults)Would
rye
be open to setting two spaces as the default indentation? Or perhaps making it configurable?