black
All checks were successful
CI / test (push) Successful in 40s
Lint / test (push) Successful in 24s
Trivy / test (push) Successful in 21s

This commit is contained in:
Miguel Jacq 2025-11-27 17:04:58 +11:00
parent 3840b71812
commit d1ca60b779
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -103,7 +103,7 @@ def parse_config(path: Path, fmt: str | None = None) -> tuple[str, Any]:
if fmt == "xml":
text = path.read_text(encoding="utf-8")
root = ET.fromstring(text) # nosec B314
root = ET.fromstring(text) # nosec B314
return fmt, root
raise ValueError(f"Unsupported config format: {fmt}")