Why is this an issue?

Merging collapsible if statements increases the code’s readability.

Noncompliant code example

if condition1:
    if condition2:
        # ...

Compliant solution

if condition1 and condition2:
    # ...