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
Originally reported as astral-sh/ruff#5044:
Not the best string ever, but ruff doesn't handle it like Python λ cat test.py print(f"$N_{{img}}\in\{{0,1,2\}}$") λ python test.py $N_{img}\in\{0,1,2\}$ λ ruff check test.py --select F401 error: Failed to parse test.py:1:25: f-string: unterminated string
Not the best string ever, but ruff doesn't handle it like Python
λ cat test.py print(f"$N_{{img}}\in\{{0,1,2\}}$") λ python test.py $N_{img}\in\{0,1,2\}$ λ ruff check test.py --select F401 error: Failed to parse test.py:1:25: f-string: unterminated string
The text was updated successfully, but these errors were encountered:
I'll look into StringParser.parse_fstring.
StringParser.parse_fstring
Sorry, something went wrong.
No branches or pull requests
Originally reported as astral-sh/ruff#5044:
The text was updated successfully, but these errors were encountered: