Remove unnecessary backticks (#15393)

Ref: https://github.com/astral-sh/ruff/pull/15367#discussion_r1909448140
This commit is contained in:
Dhruv Manilawala 2025-01-10 14:52:26 +05:30 committed by GitHub
parent 443bf38565
commit b861551b6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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