mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:21 +00:00
Avoid suggesting starmap when arguments are used outside call (#11830)
## Summary Closes https://github.com/astral-sh/ruff/issues/11810.
This commit is contained in:
parent
0d06900cec
commit
08b548626a
2 changed files with 24 additions and 7 deletions
|
@ -53,3 +53,7 @@ from itertools import starmap as sm
|
|||
[print(x, *y) for x, y in zipped()]
|
||||
|
||||
[print(*x, *y) for x, y in zipped()]
|
||||
|
||||
[" ".join(x)(x, y) for x, y in zipped()]
|
||||
|
||||
[" ".join(x)(*x) for x in zipped()]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue