RUF046 fix is wrong when a newline appears before a call expression’s opening parenthesis #15263
Labels
bug
Something isn't working
fixes
Related to suggested fixes for violations
help wanted
Contributions especially welcome
preview
Related to preview mode features
#15230 categorized
Subscript
andCall
as having their own brackets, but because their brackets do not surround the entire expressions, this was not a safe categorization for the purpose of unnecessary-cast-to-int (RUF046). The fix can change program behavior in Ruff 0.8.6.The text was updated successfully, but these errors were encountered: