From 3d5cc8455cb239e009f59d4ff4fb0da95126dea1 Mon Sep 17 00:00:00 2001 From: Hoel Bagard Date: Wed, 7 Feb 2024 08:37:54 +0900 Subject: [PATCH] fix E301 docstring. --- crates/ruff_linter/src/rules/pycodestyle/rules/blank_lines.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/ruff_linter/src/rules/pycodestyle/rules/blank_lines.rs b/crates/ruff_linter/src/rules/pycodestyle/rules/blank_lines.rs index aa2ad632c28eb..79f739f4e64ee 100644 --- a/crates/ruff_linter/src/rules/pycodestyle/rules/blank_lines.rs +++ b/crates/ruff_linter/src/rules/pycodestyle/rules/blank_lines.rs @@ -30,9 +30,7 @@ const BLANK_LINES_METHOD_LEVEL: u32 = 1; /// Checks for missing blank lines between methods of a class. /// /// ## Why is this bad? -/// PEP 8 recommends the use of blank lines as follows: -/// - Two blank lines are expected between functions and classes -/// - One blank line is expected between methods of a class. +/// PEP 8 recommends exactly one blank line between methods of a class. /// /// ## Example /// ```python