mirror of https://github.com/astral-sh/ruff
[`pyflakes`] Typo in docs for `if-tuple` (`F634`) (#14158)
This commit is contained in:
parent
574eb3f4bd
commit
fe8e49de9a
|
|
@ -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…
Reference in New Issue