Closed fmartinsons closed 4 years ago
Thanks for pointing this out - definitely a bug, but more in the underlying tool. Will try to fix it there. BTW I never seen multiline inherit, is this something that you commonly use?
Nope, it is pretty recent within our system. Some of our recipes have a lot of inherit so we decided to split this long line (as it is done for example for DEPENDS or RDEPENDS except they have quotes around their value, which inherit have not).
I'll work on that as soon as I can - in the meantime you could add oelint.oelint_var_multiinherit
to SCA_OELINT_SUPPRESS
locally or globally to avoid the issue as a temporary fix
That was easier than I thought - Fixed by a new version of the tool
Great ! Thank you.
I have an exception when using oelint module on one of my recipe which use multilined inherit, e.g which contains something like:
I used warrior branch (the sha1 of meta-sca is eb387d0ff275e1b27c3532548b75b8bd791c8306), this multiline writing trigg the following exception in meta-sca (when SCA_SCOPE_FILTER contains style):
I added traces to print rough_string variable in sca-conv-dm-checkstyle.bbclass and it come from the following malformed XML:
The following part of the XML is the culprit: