mirror of https://github.com/astral-sh/ruff
Remove unnecessary backticks (#15393)
Ref: https://github.com/astral-sh/ruff/pull/15367#discussion_r1909448140
This commit is contained in:
parent
443bf38565
commit
b861551b6a
|
|
@ -427,9 +427,9 @@ or f-string literal that contains the [configured quote style]:
|
|||
```python
|
||||
# format.quote-style = "double"
|
||||
|
||||
f'{"""nested " """}'`
|
||||
f'{"""nested " """}'
|
||||
# This f-string cannot be formatted as follows when targeting Python < 3.12
|
||||
f"{'''nested " '''}``
|
||||
f"{'''nested " '''}"
|
||||
```
|
||||
|
||||
For all target Python versions, when a [self-documenting f-string] contains an expression between
|
||||
|
|
|
|||
Loading…
Reference in New Issue