Skip to content
Myr

[pre-commit.ci] auto fixes from pre-commit.com hooks

Before adoption: this commit came in with the history the project adopted, so no landing records it.

for more information, see https://pre-commit.ci

authored by pre-commit-ci[bot] · committed by pre-commit-ci[bot] · parent 42b3a35 · Browse files · 1 file+0 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−1 removed

  • other:+0 added−1 removed

1 file+0 added−1 removed

modified:src/jinja2/compiler.py-1 removed
991 unmodified lines
992 # if the number of extends statements in general is zero so993 # far, we don't have to add a check if something extended994 # the template before this one.995 if self.extends_so_far > 0:996996 # if we have a known extends we just add a template runtime997 # error into the generated code. We could catch that at compile998 # time too, but i welcome it not to confuse users by throwing the999 # same error at different times just "because we can".
957 unmodified lines