Interrogate is a pretty awesome, brand new, cli for Python packages
As usual while listening to python bytes 181 [1] I heard of a tool that I had to try out right away!
This thing is 🔥 hot off the press folks, we’re talking the first release only 3 weeks ago. Its something that the python community needed years ago, and it belongs in your CI today. I had tried several tools that tried to do docstring coverage in the past but they were a bit cumbersome and were quickly forgotten about. Not interrogate, its dead simple!
Nothing I have tried has come close to being this good
Interrogate # [2]
It runs documentation coverage for your python project. It allows you to set the minimum amount of docstring coverage for your project and has some great setup instructions right in the readme.
Install it # [3]
Interrogate is on pypi so it is super simple to install with pip
pip install interrogate
run it # [4]
This is the best part, its super easy to run right from the command line! Just call it, and give it a path to run.
interrogate -v <path>
😲 I hav...