From 996b0a2628cf12901f35287db9831c10c1b5ff74 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Thu, 14 May 2020 21:05:15 +0100 Subject: [PATCH] Remove unused code --- curlylint/rules/indent/indent.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/curlylint/rules/indent/indent.py b/curlylint/rules/indent/indent.py index d837105..eb68f16 100644 --- a/curlylint/rules/indent/indent.py +++ b/curlylint/rules/indent/indent.py @@ -138,13 +138,6 @@ def get_first_child_node(parent): return c return None - def has_jinja_element_child(parent, tag_name): - child = get_first_child_node(parent) - return ( - isinstance(child, ast.JinjaElement) - and child.parts[0].tag.name == tag_name - ) - def check_jinja_element_part( expected_level, part, inline=False, allow_same_line=False ):