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
commit 3bd433d38a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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]

@ -1 +1 @@
Subproject commit 4a841219ff9440f6a723e9e9612a33c44ad1e2f9
Subproject commit 1e7b5d54d3823b65fd4755bcf60f9ca39cfcbca3