Sphinx extension to support docstrings in Numpy format
A command-line hook that lint-checks Python docstrings via AST analysis, honoring project-level validation settings discovered from repository config files.
0 when no issues are found, printing a concise success message. @testpyproject.toml in the project root enables a required-docstring check, invoking the command on a file missing a docstring reports a line-numbered validation entry (including the error code) and exits with status code 1. @test--config pointing to a config file that ignores the required-docstring check allows the same file to pass validation and exit with status code 0. @testtests/.*), invoking the command on both an excluded file and a valid non-excluded file lints only the latter and exits with status code 0. @test@generates
def main(argv: list[str] | None = None) -> int:
"""
Entry point for the docstring lint hook CLI.
"""Provides AST-based docstring linting with configuration discovery suitable for pre-commit style hooks.
tessl i tessl/pypi-numpydoc@1.9.0evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9