black
This commit is contained in:
parent
3840b71812
commit
d1ca60b779
1 changed files with 1 additions and 1 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue