Complain about a missing comma in multiline lists of strings
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/.pylintrc b/.pylintrc
index f9c97d5..4a1b6e5 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -70,6 +70,17 @@
# Don't diplay statistics. Just the facts.
reports=no
+[STRING]
+# Complain about
+# ```
+# list_of_strings = [
+# 'foo' # <-- missing comma
+# 'bar',
+# 'corge',
+# ]
+# ```
+check-str-concat-over-line-jumps=yes
+
[VARIABLES]
# Allow unused variables if their name starts with an underscore.
# [unused-argument]