From 5b40126225eb6324c202b3238727362529825637 Mon Sep 17 00:00:00 2001 From: tkim01 Date: Sun, 16 Aug 2026 20:50:14 +0900 Subject: [PATCH] Apply frozen candidate patch --- src/flake8_comprehensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flake8_comprehensions.py b/src/flake8_comprehensions.py index 5ca4e80..aceda0a 100644 --- a/src/flake8_comprehensions.py +++ b/src/flake8_comprehensions.py @@ -296,6 +296,7 @@ def run(self): or ( isinstance(node.elt, ast.Tuple) and isinstance(node.generators[0].target, ast.Tuple) + and len(node.elt.elts) == len(node.generators[0].target.elts) and all( isinstance(a, ast.Name) and isinstance(b, ast.Name)