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
It seems like it would be fairly trivial to implement an autofix for ISC003. No refactoring of the string would be necessary. If adjacent nodes are any type of string literal (normal, format, raw, raw+format) and there is a + joining them, the + can be removed without affecting other lines. This works for strings with mixtures of string literals and non-literals as well.
a= (
"123"+"456"+my_string+"789"+"0"
)
to ...
a= (
"123""456"+my_string+"789""0"
)
The text was updated successfully, but these errors were encountered:
Summary
It seems like it would be fairly trivial to implement an autofix for ISC003. No refactoring of the string would be necessary. If adjacent nodes are any type of string literal (normal, format, raw, raw+format) and there is a
+
joining them, the+
can be removed without affecting other lines. This works for strings with mixtures of string literals and non-literals as well.to ...
The text was updated successfully, but these errors were encountered: