astral-sh / ruff

An extremely fast Python linter and code formatter, written in Rust.
https://docs.astral.sh/ruff
MIT License
32.63k stars 1.09k forks source link

Feature request: numpydoc rules #8425

Open njzjz opened 1 year ago

njzjz commented 1 year ago

See https://numpydoc.readthedocs.io/en/latest/validation.html.

It would be nice if ruff implemented some of numpydoc rules that are not supported by pydocstyle, such as PR10

    "PR10": 'Parameter "{param_name}" requires a space before the colon '
    "separating the parameter name and type",
timj commented 11 months ago

ruff supporting numpydoc rules would be incredibly helpful.

augustebaum commented 2 weeks ago

+1