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 ?

Problematic code:

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

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

Correct code:

x = ["a", "b"]

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

Created by the string checker.