summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2023-02-07 07:12:28 -0800
committerGitHub <noreply@github.com>2023-02-07 07:12:28 -0800
commit3e07d14a0fbd6160d7772b3cf9594d218e2e85a8 (patch)
treec7da0720d15be1a72f9a7bef225479a0fd8ae124
parent795ab3db021f34bd06888732ac016f45564537d1 (diff)
parent291dfe27d5487eb7a31f98d894695d3a697d7129 (diff)
downloadjinja2-3e07d14a0fbd6160d7772b3cf9594d218e2e85a8.tar.gz
[pre-commit.ci] pre-commit autoupdate (#1800)
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--src/jinja2/compiler.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0f24a4f..e734c0a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -14,7 +14,7 @@ repos:
args: ["--application-directories", "src"]
additional_dependencies: ["setuptools>60.9"]
- repo: https://github.com/psf/black
- rev: 22.12.0
+ rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
diff --git a/src/jinja2/compiler.py b/src/jinja2/compiler.py
index 3458095..7dfac0a 100644
--- a/src/jinja2/compiler.py
+++ b/src/jinja2/compiler.py
@@ -993,7 +993,6 @@ class CodeGenerator(NodeVisitor):
# far, we don't have to add a check if something extended
# the template before this one.
if self.extends_so_far > 0:
-
# if we have a known extends we just add a template runtime
# error into the generated code. We could catch that at compile
# time too, but i welcome it not to confuse users by throwing the