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:
parent
0f6dd1caf1
commit
8893a8f33b
11
.pylintrc
11
.pylintrc
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user