Adding code complexity analysis to your buildout

This little snippet adds a complexity script to your buildout’s bin directory, using Radon.

This works with packages included using mr.developer.

To run the script:


./bin/complexity

To only show code complexity >= D:


./bin/complexity --min D

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>