mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-31 15:47:41 +00:00
[syntax-errors] Raise unsupported syntax error for template strings prior to Python 3.14 (#18664)
Closes #18662 One question is whether we would like the range to exclude the quotes?
This commit is contained in:
parent
793ff9bdbc
commit
1889a5e6eb
5 changed files with 459 additions and 2 deletions
|
@ -0,0 +1,6 @@
|
|||
# parse_options: {"target-version": "3.13"}
|
||||
t"{hey}"
|
||||
t'{there}'
|
||||
t"""what's
|
||||
happening?"""
|
||||
"implicitly"t"concatenated"
|
Loading…
Add table
Add a link
Reference in a new issue