1
0
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:
David Horstmann
2025-04-28 16:53:39 +00:00
committed by GitHub
2 changed files with 12 additions and 1 deletions

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]