mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-10 05:03:02 +03:00
Merge pull request #10150 from gilles-peskine-arm/pylint-check-str-concat-3.6
Backport 3.6: Pylint: Complain about a missing comma in multiline lists of strings
This commit is contained in:
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]
|
||||||
|
Submodule framework updated: 4a841219ff...1e7b5d54d3
Reference in New Issue
Block a user