Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed May 14, 2020
1 parent b7c4288 commit 996b0a2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions curlylint/rules/indent/indent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
):
Expand Down

0 comments on commit 996b0a2

Please sign in to comment.