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
var1 = "var 1"
var2 = "var 2"
print("this will be caught by UP031 with the variables: %s, %s" % (var1, var2))
print(
"this has percent on a new line and will not be caught by UP031 with the variables: %s, %s"
% (var1, var2)
)
Only the first print statement above results in UP031.
The second one was formatted to split over two lines but doesn't raise UP031.
The text was updated successfully, but these errors were encountered:
👋
ruff 0.0.261
pyproject.toml
Example:
Only the first print statement above results in UP031.
The second one was formatted to split over two lines but doesn't raise UP031.
The text was updated successfully, but these errors were encountered: