diff --git a/crates/ruff/src/rules/pycodestyle/rules/logical_lines/whitespace_before_parameters.rs b/crates/ruff/src/rules/pycodestyle/rules/logical_lines/whitespace_before_parameters.rs index fb55dbeafe..1fea887220 100644 --- a/crates/ruff/src/rules/pycodestyle/rules/logical_lines/whitespace_before_parameters.rs +++ b/crates/ruff/src/rules/pycodestyle/rules/logical_lines/whitespace_before_parameters.rs @@ -8,11 +8,11 @@ use crate::checkers::logical_lines::LogicalLinesContext; use crate::rules::pycodestyle::rules::logical_lines::LogicalLine; /// ## What it does -/// Checks for extraneous whitespace immediately after an open parenthesis +/// Checks for extraneous whitespace immediately preceding an open parenthesis /// or bracket. /// /// ## Why is this bad? -/// According to [PEP 8], open parentheses and brackets should not be followed +/// According to [PEP 8], open parentheses and brackets should not be preceded /// by any trailing whitespace. /// /// ## Example