pylint-errors

R0915 (too-many-statements)

:x: Problematic code:

def foo():
    # for instance, if a fuction has got many if's (by default <= 50)

:heavy_check_mark: Correct code:

# split up to smaller functions/methods

Rationale:

Used when a function or method has too many statements. You should then split it in smaller functions / methods.