in src/python/detectors/code_readability/code_readability.py [0:0]
def avoid_complex_comprehension_compliant():
text = [['bar', 'pie', 'line'],
['Rome', 'Madrid', 'Houston'],
['aa', 'bb', 'cc', 'dd']]
text_1 = []
# Compliant: easy to read and maintain.
for x in text:
if len(x) > 3:
for y in x:
text_1.append(y)