mirror of
https://github.com/Hopiu/djLint.git
synced 2026-05-28 14:18:16 +00:00
fixed lint
This commit is contained in:
parent
774a7b4ea1
commit
0c40a36c3e
1 changed files with 4 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ def indent_html(rawcode: str, config: Config) -> str:
|
|||
if config.profile not in ["handlebars", "golang"]:
|
||||
|
||||
def fix_non_handlebars_template_tags(
|
||||
html: str, out_format: str, match: str
|
||||
html: str, out_format: str, match: re.Match
|
||||
) -> str:
|
||||
|
||||
if inside_ignored_block(config, html, match):
|
||||
|
|
@ -183,7 +183,9 @@ def indent_html(rawcode: str, config: Config) -> str:
|
|||
|
||||
elif config.profile == "handlebars":
|
||||
|
||||
def fix_handlebars_template_tags(html: str, out_format: str, match: str) -> str:
|
||||
def fix_handlebars_template_tags(
|
||||
html: str, out_format: str, match: re.Match
|
||||
) -> str:
|
||||
|
||||
if inside_ignored_block(config, html, match):
|
||||
return match.group()
|
||||
|
|
|
|||
Loading…
Reference in a new issue