oelint.vars.multilineident

October 30, 2024 ยท View on GitHub

severity: info

Example

On every multiline variable assignment

A = "\
    a \
b \
"

Why is this bad?

For better readability the Yocto project style guide suggests to use a common indent (minimum 4 spaces) matching the first " on the starting line

Ways to fix it

A = "\
    a \
    b \
"

a valid alternative is

A = "a \
     b \
"

The --fix will determine the style used automatically based on the content of the first line