Pattern: Malformed line end concatenation
Issue: -
This rule checks for string literal concatenation at the end of a line. Use \\
instead of +
or <<
to concatenate strings.
# bad
some_str = 'one' +
'two'
some_str = 'one' <<
'two'
# good
some_str = 'one' \
'two'