Skip to content

[Feature] Add validation for numpydoc #56

@K-Meech

Description

@K-Meech

Is your feature request related to a problem? Please describe.
Currently, there are no checks for docstring style, meaning it is easy to introduce styles like reST erroneously.

Describe the solution you'd like
We could add validation of numpydoc via precommit with a pre-commit hook. Individual rules can be easily ignored in the pyproject.toml like so

[tool.numpydoc_validation]
checks = [
    "all",   # report on all checks, except the below
    "EX01",
    "SA01",
    "ES01",
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions