astral-sh/ruff
View on GitHubImprove discoverability of the `pydocstyle` rules as per the selected convention
Open
#15217 opened on Jan 2, 2025
documentationhelp wanted
Description
If a user has D in the rule selection, the rules that are actually selected depends on the docstring convention that's chosen. Currently, this information only lives at the bottom of this FAQ section: https://docs.astral.sh/ruff/faq/#does-ruff-support-numpy-or-google-style-docstrings. It would be useful to have this visible in an obvious place for which I see two options:
ruff.lint.pydocstyle.conventionsection- For each of the
Dxxxrule page, specify how setting thelint.pydocstyle.conventionmay affect the selection of this rule
I think I'd prefer option (1) as the documentation is in a single place instead of distributed across multiple rule pages.