From 5d4edd61bfffae4ee2dc5746bce097b0fc3fe96f Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Tue, 22 Oct 2024 16:51:57 +0200 Subject: [PATCH] Fix `D204`'s documentation to correctly mention the conventions when it is enabled (#13867) --- .../src/rules/pydocstyle/rules/blank_before_after_class.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruff_linter/src/rules/pydocstyle/rules/blank_before_after_class.rs b/crates/ruff_linter/src/rules/pydocstyle/rules/blank_before_after_class.rs index 465ba4964b..299d6f44b4 100644 --- a/crates/ruff_linter/src/rules/pydocstyle/rules/blank_before_after_class.rs +++ b/crates/ruff_linter/src/rules/pydocstyle/rules/blank_before_after_class.rs @@ -65,8 +65,8 @@ impl AlwaysFixableViolation for OneBlankLineBeforeClass { /// docstring from its methods. /// /// This rule may not apply to all projects; its applicability is a matter of -/// convention. By default, this rule is enabled when using the `google` -/// convention, and disabled when using the `numpy` and `pep257` conventions. +/// convention. By default, this rule is enabled when using the `numpy` and `pep257` +/// conventions, and disabled when using the `google` convention. /// /// ## Example /// ```python