fix formatting, pin ruff version, remove rdp refs

This commit is contained in:
2025-03-02 00:41:33 -05:00
parent c15e6cb082
commit 4613e8c2b3
8 changed files with 170 additions and 1260 deletions

View File

@ -14,7 +14,7 @@ output_regexes = [
]
def traverse_json_base(json_dict: dict[str,typing.Any], path: list[str]) -> list[str]:
def traverse_json_base(json_dict: dict[str, typing.Any], path: list[str]) -> list[str]:
final_paths = []
for key, value in json_dict.items():
if isinstance(value, dict):
@ -26,7 +26,7 @@ def traverse_json_base(json_dict: dict[str,typing.Any], path: list[str]) -> list
output = ".".join([*path, key])
final_paths += [output]
else:
final_paths += traverse_json_base(value, [*path ,key])
final_paths += traverse_json_base(value, [*path, key])
return final_paths