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
The style in which violation messages are presented by Ruff is indicated by the keyword "format" inside pyproject.toml, as shown below:
[tool.ruff] format = "grouped"
Previously, this configuration used to work in our template. However, recently, it causes a failure with the following error:
Cause: TOML parse error at line 126, column 10 | 126 | format = "grouped" | invalid type: string "grouped", expected struct FormatOptions
Upon investigating the documentation, I found that the correct keyword should be "output-format" instead of "format".
I suggest updating the configuration in pyproject.toml to reflect the correct keyword "output-format" as follows:
[tool.ruff] output-format = "grouped"
This change should resolve the parsing error and align with the documentation's requirements.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue:
The style in which violation messages are presented by Ruff is indicated by the keyword "format" inside pyproject.toml, as shown below:
Previously, this configuration used to work in our template. However, recently, it causes a failure with the following error:
Upon investigating the documentation, I found that the correct keyword should be "output-format" instead of "format".
Proposal:
I suggest updating the configuration in pyproject.toml to reflect the correct keyword "output-format" as follows:
This change should resolve the parsing error and align with the documentation's requirements.
The text was updated successfully, but these errors were encountered: