mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
[pyflakes
] Typo in docs for if-tuple
(F634
) (#14158)
This commit is contained in:
parent
574eb3f4bd
commit
fe8e49de9a
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ use ruff_text_size::Ranged;
|
||||||
use crate::checkers::ast::Checker;
|
use crate::checkers::ast::Checker;
|
||||||
|
|
||||||
/// ## What it does
|
/// ## What it does
|
||||||
/// Checks for `if statements that use non-empty tuples as test conditions.
|
/// Checks for `if` statements that use non-empty tuples as test conditions.
|
||||||
///
|
///
|
||||||
/// ## Why is this bad?
|
/// ## Why is this bad?
|
||||||
/// Non-empty tuples are always `True`, so an `if` statement with a non-empty
|
/// Non-empty tuples are always `True`, so an `if` statement with a non-empty
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue