fix formatting, pin ruff version, remove rdp refs
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user