interrogate: Check your Python Code for Missing Docstrings.

interrogate: Check your Python Code for Missing Docstrings.

Sometimes, you might forget to write docstrings for classes and functions. Instead of manually looking at all your functions and classes for missing docstrings, use interrogate instead.

In the code above, I use interrogate to check for missing docstrings in the file main.py.

To automatically check for missing docstrings whenever you commit new files, add interrogate to your pre-commit hooks. Here is how to do that.

Link to interrogate.

Link to the source code.

Search

Related Posts

Related Posts

Scroll to Top

Work with Khuyen Tran

Work with Khuyen Tran