When a list of strings is defined on multiple lines, it is often easy to forget a comma between list items, like in this example case:
test = [ "item1" "item2" ]
test would now have a single item
Quite often the problem appears after rearranging the items in a list.
Sample Stack Overflow questions having this issue:
Is there a way to, preferably using static code analysis, issue a warning in cases like this in order to spot the problem as early as possible?