You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah the rule is slightly more expansive than the description suggests -- I've updated it. It also looks for print calls with one or fewer arguments that define a custom separator, since the separator is redundant in that case. I've also fixed the bug here related to starred arguments.
…#8079)
Given `print(*a_list_with_elements, sep="\n")`, we can't remove the
separator (unlike in `print(a, sep="\n")`), since we don't know how many
arguments were provided.
Closes#8078.
Hi, there seems to be a mismatch:
However, FURB105 apparently checks for empty prints:
ruff rule FURB105 # out: Checks for `print` calls with an empty string as the only positional ...
Version
ruff 0.1.1
The text was updated successfully, but these errors were encountered: