Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

[Feature Request] Validate sphinx parameters #478

Open
@saroad2

Description

@saroad2

First of all: Awesome tool!

I think it should be beneficial if Pydocstyle would not only validate that every function and class is documented, but it would also be able to validate that all parameters are documented with Sphinx

Consider the following function:

def a_function(a, b):
    """
    This is a function.
    
    :param a: This is a parameter
    :type a: int
    :return: Returns nothing
    """
    return None

It is clear that this is not fully documented since there is no documentation for b.

This validation should be activated with a flag, something like --sphinx or --validate-parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions