Skip to content

Commit 8ec823f

Browse files
update docstrings for parameter parsing functions in validate_bicep_params.py
1 parent 8ac02eb commit 8ec823f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/validate_bicep_params.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def parse_bicep_params(bicep_path: Path) -> list[BicepParam]:
8080

8181
def parse_parameters_json(json_path: Path) -> list[str]:
8282
"""Return the raw parameter key names (preserving whitespace) from a
83-
parameters JSON file."""
83+
parameters JSON file.
84+
"""
8485
text = json_path.read_text(encoding="utf-8-sig")
8586
# azd parameter files may include ${VAR} or ${VAR=default} placeholders inside
8687
# string values. These are valid JSON strings, but we sanitize them so that
@@ -97,7 +98,8 @@ def parse_parameters_json(json_path: Path) -> list[str]:
9798

9899
def parse_parameters_env_vars(json_path: Path) -> dict[str, list[str]]:
99100
"""Return a mapping of parameter name → list of azd env var names
100-
referenced in its value (e.g. ``${AZURE_ENV_NAME}``)."""
101+
referenced in its value (e.g. ``${AZURE_ENV_NAME}``).
102+
"""
101103
text = json_path.read_text(encoding="utf-8-sig")
102104
result: dict[str, list[str]] = {}
103105
params = {}

0 commit comments

Comments
 (0)