boroivanov/ecs-tools

View on GitHub
ecstools/lib/utils.py

Summary

Maintainability
A
0 mins
Test Coverage

Merge this if statement with the enclosing one.
Open

        if all([x == 'Completed' for x in statuses.values()]):
Severity: Major
Found in ecstools/lib/utils.py by sonar-python

Merging collapsible if statements increases the code's readability.

Noncompliant Code Example

if condition1:
    if condition2:
        # ...

Compliant Solution

if condition1 and condition2:
    # ...

There are no issues that match your filters.

Category
Status