mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-04 17:51:57 +00:00
Fix E211 documentation (#6133)
This commit is contained in:
parent
e15b9c5572
commit
dd706c7a35
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue