wemake-python-styleguide0.15.3 › Violations › WPS2xx Complexity

WPS2xx Complexity

These checks find flaws in your application design.

We try to stick to "the magical 7 ± 2 number" when counting things. https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two

That's how many objects we can keep in our memory at a time. We try hard not to exceed the memory capacity limit.

You can also find interesting reading about "Cognitive complexity": https://www.sonarsource.com/docs/CognitiveComplexity.pdf

Violations