def METHOD_NAME(templates: Iterable[str], fix: bool) -> None:
    # Check all our Handlebars templates.
    templates = [fn for fn in templates if fn.endswith(".hbs")]
    for fn in templates:
        tokens = validate(fn)
        if not validate_indent_html(fn, tokens, fix):
            sys.exit(1)