Browse Source
Getting slightly subjective, but fixes this pylint warning: scripts/west_commands/zcmake.py:186:13: R1714: Consider merging these comparisons with "in" to "type_ in ('STRING', 'INTERNAL')" (consider-using-in) Use a set literal instead of a tuple literal, as recent Python 3 versions optimize set literals with constant keys nicely. Getting rid of pylint warnings for a CI check. I could disable any controversial ones (it's already a list of warnings to enable anyway). Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>pull/18466/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue