Derived from the Pylint linter.
What it does#
Checks for functions or methods with too many statements.
By default, this rule allows up to 50 statements, as configured by the
Why is this bad?#
Functions or methods with many statements are harder to understand and maintain.
Instead, consider refactoring the function or method into smaller functions or methods, or identifying generalizable patterns and replacing them with generic logic or abstractions.