Enforce a maximum cognitive complexity of 100 per function

Merged
JV
2d ago
+5696-4702

Signed-off-by: Juan Cruz Viotti jv@jviotti.com