This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Add flake8 --max-complexity checking #9367
Labels
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
This maybe a bit unhelpful as a check, but in flake8, while researching #9366, i encountered that
max-complexity
for allC90
violations were never checked.When i enable this option, i get the following;
A few of these functions indeed go on for several hundreds(!) of lines, with sprawling nesting and such.
While I know that this is a good example of "don't fix what ain't broke", i think it'll be less of a mental cognition burden if some of these warnings were at least taken seriously.
The text was updated successfully, but these errors were encountered: