{# djangofmt: file-ignore[format, invalid-syntax, missing-img-alt] #} {# The file-ignore above is the first comment, where the file-wide codes belong #} {# djangofmt: ignore[invalid-attr-value] #}
{# The formatter honors `format` on a node too #} {# djangofmt: ignore[format] #}
{# Text after the closing bracket is a free-text reason #} {# djangofmt: ignore[invalid-attr-value]: because reasons #}
{# Unknown codes are invalid-ignore-code's concern #} {# djangofmt: ignore[not-a-real-rule] #}
{# The formatter's bare directive: spaced, explained, whitespace-controlled #} {# djangofmt:ignore #}
{# djangofmt: ignore #}
{# djangofmt:ignore this table is generated #}
{#- djangofmt:ignore -#}
{# Merely mentioning djangofmt: is not a directive #} {# See djangofmt: https://unknownplatypus.github.io/djangofmt/ #}
{# A directive in an HTML comment is never honored, so never flagged #}