econchick / interrogate

Explain yourself! Interrogate a codebase for docstring coverage.
https://interrogate.readthedocs.io
MIT License
574 stars 44 forks source link

Add --skip-covered flag to disable reporting covered files #85

Closed RobertCraigie closed 3 years ago

RobertCraigie commented 3 years ago

Describe the feature you'd like

Interrogate's output can get very verbose which is very useful, however sometimes it would also be useful to ignore any files that are 100% covered to focus on the files that need docstrings added, I suggest adding a --skip-covered flag to disable reporting of such files.

Is your feature request related to a problem?

No

Your Environment

Additional context

Coverage.py supports skipping covered files

econchick commented 3 years ago

Thanks for the good idea! I'll try to add this functionality in the next week or so for the 1.5.0 release.

econchick commented 3 years ago

FYI I've added this (as --omit-covered-files) and will be included in the 1.5.0 release. Not sure when I'll be able to make the release as I want to get a few more things in before, but I'll update this ticket once I do!

econchick commented 3 years ago

Update: 1.5.0 has been released! Let me know what you think / if you have any issues!

RobertCraigie commented 3 years ago

Thank you!