From fe8e49de9ae96ae574d12ac72aba8241832b7df5 Mon Sep 17 00:00:00 2001 From: Simon Brugman Date: Thu, 7 Nov 2024 16:28:20 +0100 Subject: [PATCH] [`pyflakes`] Typo in docs for `if-tuple` (`F634`) (#14158) --- crates/ruff_linter/src/rules/pyflakes/rules/if_tuple.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/pyflakes/rules/if_tuple.rs b/crates/ruff_linter/src/rules/pyflakes/rules/if_tuple.rs index 35256a5112..50c28fe799 100644 --- a/crates/ruff_linter/src/rules/pyflakes/rules/if_tuple.rs +++ b/crates/ruff_linter/src/rules/pyflakes/rules/if_tuple.rs @@ -8,7 +8,7 @@ use ruff_text_size::Ranged; use crate::checkers::ast::Checker; /// ## 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? /// Non-empty tuples are always `True`, so an `if` statement with a non-empty