mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Remove call when removing final argument from format
(#15309)
## Summary Closes https://github.com/astral-sh/ruff/issues/15303.
This commit is contained in:
parent
75a24bbc67
commit
065274d353
3 changed files with 64 additions and 4 deletions
|
@ -31,3 +31,7 @@
|
|||
# Multiline
|
||||
(''
|
||||
.format(2))
|
||||
|
||||
# Removing the final argument.
|
||||
"Hello".format("world")
|
||||
"Hello".format("world", key="value")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue