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
For me, it changed the valid TOML
[tool.ruff] lint.flake8-copyright.notice-rgx = 'SPDX-License-Identifier: MPL-2\.0'
into the invalid …MPL-2\.0" (\. is not a valid escape sequence in a ""-string)
…MPL-2\.0"
\.
""
pyproject-fmt needs to preserve raw strings everywhere.
pyproject-fmt
The text was updated successfully, but these errors were encountered:
I have the same issue as I'm trying to configure Ruff to exclude my cookiecutter root folder like in astral-sh/ruff#7959
That issue has 2 workarounds here and here for others facing the same problem. I ended up tweaking the first one to:
extend-exclude = [ "[{]{2}cookiecutter.project_slug[}]{2}/*", ]
Sorry, something went wrong.
No branches or pull requests
For me, it changed the valid TOML
into the invalid
…MPL-2\.0"
(\.
is not a valid escape sequence in a""
-string)pyproject-fmt
needs to preserve raw strings everywhere.The text was updated successfully, but these errors were encountered: