mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Fix unnecessary space around power op in overlong f-string expressions (#14489)
This commit is contained in:
parent
a90e404c3f
commit
302fe76c2b
4 changed files with 113 additions and 19 deletions
|
@ -346,3 +346,6 @@ _ = (
|
|||
f'This string uses double quotes in an expression {"it's a quote"}'
|
||||
f'This f-string does not use any quotes.'
|
||||
)
|
||||
|
||||
# Regression test for https://github.com/astral-sh/ruff/issues/14487
|
||||
f"aaaaaaaaaaaaaaaaaaaaaaaaaa {10**27} bbbbbbbbbbbbbbbbbbbbbbbbbb ccccccccccccccccccccccccc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue