[code-quality] Locally increase max-complexity?

Ian Cordasco graffatcolmingov at gmail.com
Sun Mar 8 15:01:09 CET 2015


On Sat, Mar 7, 2015 at 11:16 PM, Michael McNeil Forbes
<michael.forbes+python at 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 at python.org
> https://mail.python.org/mailman/listinfo/code-quality

No there isn't.


More information about the code-quality mailing list