1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-05-07 23:46:23 +08:00

Complain about a missing comma in multiline lists of strings

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2025-04-24 13:59:06 +02:00
parent 0f6dd1caf1
commit 8893a8f33b

View File

@ -70,6 +70,17 @@ disable=locally-disabled,locally-enabled,logging-format-interpolation,no-else-re
# 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]