From d4fd42522d329d26a25d205e162ab396111a5353 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 29 Jun 2026 20:53:15 +1000 Subject: [PATCH] Fix bandit alert --- src/jinjaturtle/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jinjaturtle/core.py b/src/jinjaturtle/core.py index de34735..458dbdc 100644 --- a/src/jinjaturtle/core.py +++ b/src/jinjaturtle/core.py @@ -379,7 +379,7 @@ def parse_config(path: Path, fmt: str | None = None) -> tuple[str, Any]: raise except _MALFORMED_CONFIG_ERRORS as exc: # Normalise the per-parser "this file is malformed" errors into one - # type: json.JSONDecodeError / tomllib.TOMLDecodeError (ValueError + # json.JSONDecodeError / tomllib.TOMLDecodeError (ValueError # subclasses), PyYAML's YAMLError, configparser.Error, and # xml.etree.ElementTree.ParseError (raised by defusedxml on XML whose # structure/element name is not well-formed). A bad input file is