[pyflakes] Typo in docs for if-tuple (F634) (#14158)

This commit is contained in:
Simon Brugman 2024-11-07 16:28:20 +01:00 committed by GitHub
parent 574eb3f4bd
commit fe8e49de9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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