implicit-str-concat / W1404#

Message emitted:

Implicit string concatenation found in %s

Description:

String literals are implicitly concatenated in a literal iterable definition : maybe a comma is missing ?

Correct code:

x = ["a", "b"]

with open("hello.txt", "r") as f:
    print(f.read())

Problematic code:

x = ["a" "b"]  # [implicit-str-concat]

with open("hello.txt" "r") as f:  # [implicit-str-concat]
    print(f.read())

Created by the string checker.