From 883a3ab8cc00ce1dce317d6da5a73571a437d620 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Tue, 1 Dec 2026 13:11:47 +0100 Subject: [PATCH] Enable the "truthy-iterable" error code --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d8f4be7..4ec7d10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -482,6 +482,8 @@ enable_error_code = [ "redundant-expr", # Report truthiness checks on objects that are always true "truthy-bool", + # Report truthiness checks on `Iterable`s that are always true + "truthy-iterable", ] # Check further edge cases that are rarely an issue in practice