Locally increase max-complexity?
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.
On Sat, Mar 7, 2015 at 11:16 PM, Michael McNeil Forbes <michael.forbes+python@gmail.com> wrote:
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
No there isn't.
participants (2)
-
Ian Cordasco
-
Michael McNeil Forbes