Open jorgepiloto opened 2 years ago
Hi, @jorgepiloto! We faced the same problem and had to implement solution on our own. If your problem is still relevant, please, check out Numpydoclint. It's a command line tool for Numpy style docstring validation that can be configured with pyproject.toml
file, in-file comments, and more.
🐞 Problem
This library solved the issue of runnig
numpydoc
validation checks outside of the Sphinx documentation build process. Although very useful this library can only be accessed via Python scripts.💡 Enhancement
It would be interesting to add CLI support. Doing so would allow this tool to be included in different code-style workflows. For example, it could be added to
.pre-commit-config.yaml
files.On top of that, being able to declare
numpydoc-validation
configuration in thepyproject.toml
file would be really cool.