We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently rye uses 4 spaces for indentation levels when working with pyproject.toml.
rye
pyproject.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
Would rye be open to setting two spaces as the default indentation? Or perhaps making it configurable?
The text was updated successfully, but these errors were encountered:
I'm open to it but I'm not sure what the pyproject.toml recommendations are.
Sorry, something went wrong.
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/
Successfully merging a pull request may close this issue.
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?The text was updated successfully, but these errors were encountered: