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
The fix for native-literals (UP018) can introduce a syntax error when the argument contains a newline between a unary + or - and a number literal. It should wrap the expression with parentheses as needed to avoid the error.
Summary
The fix for
native-literals
(UP018) can introduce a syntax error when the argument contains a newline between a unary+
or-
and a number literal. It should wrap the expression with parentheses as needed to avoid the error.Version
ruff 0.11.2 (4773878 2025-03-21)
The text was updated successfully, but these errors were encountered: