mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-23 04:26:46 -04: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.
|
# Don't diplay statistics. Just the facts.
|
||||||
reports=no
|
reports=no
|
||||||
|
|
||||||
|
[STRING]
|
||||||
|
# Complain about
|
||||||
|
# ```
|
||||||
|
# list_of_strings = [
|
||||||
|
# 'foo' # <-- missing comma
|
||||||
|
# 'bar',
|
||||||
|
# 'corge',
|
||||||
|
# ]
|
||||||
|
# ```
|
||||||
|
check-str-concat-over-line-jumps=yes
|
||||||
|
|
||||||
[VARIABLES]
|
[VARIABLES]
|
||||||
# Allow unused variables if their name starts with an underscore.
|
# Allow unused variables if their name starts with an underscore.
|
||||||
# [unused-argument]
|
# [unused-argument]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user