File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
crates/ruff_linter/src/rules/pydocstyle/rules Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1167,9 +1167,10 @@ impl AlwaysFixableViolation for MissingSectionNameColon {
11671167/// a blank line, followed by a series of sections, each with a section header
11681168/// and a section body. Function docstrings often include a section for
11691169/// function arguments; this rule is concerned with that section only.
1170+ /// This rule does not check functions without any arguments sections (e.g. `Args`).
11701171///
1171- /// This rule is enabled when using the `google` convention, and disabled when
1172- /// using the `pep257` and `numpy` conventions.
1172+ /// Note that this rule only checks docstrings with an arguments (e.g. `Args`) section.
1173+ /// Docstrings without any arguments sections
11731174///
11741175/// ## Example
11751176/// ```python
You can’t perform that action at this time.
0 commit comments