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