Following the NIST recommendation:

"For each module, either limit cyclomatic complexity to [the agreed-upon limit] 
or provide a written explanation of why the limit was exceeded."

Is there a way of providing a "written explanation" for functions with one of

# pragma: max-complexity 15
# flake8: max-complexity 15

etc.?

Michael.
_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to