From 2cd8c83695e629968782e24ede8ae0c80b49b0cf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 9 Nov 2021 16:20:09 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/jinja2/nativetypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jinja2/nativetypes.py b/src/jinja2/nativetypes.py index afcc5f4a0..20597d50a 100644 --- a/src/jinja2/nativetypes.py +++ b/src/jinja2/nativetypes.py @@ -38,7 +38,7 @@ def native_concat(values: t.Iterable[t.Any]) -> t.Optional[t.Any]: # In Python 3.10+ ast.literal_eval removes leading spaces/tabs # from the given string. For backwards compatibility we need to # parse the string ourselves without removing leading spaces/tabs. - parse(raw, mode='eval') + parse(raw, mode="eval") ) except (ValueError, SyntaxError, MemoryError): return raw