mccabe

McCabe checker, plugin for flake8

Here are some articles that you may find helpful