https://github.com/bashtage/arch
Tip revision: 6b1cc78fbc8c34f0d7555aaf3168323f631cb4b3 authored by Kevin Sheppard on 01 April 2020, 16:34:39 UTC
More work and tests
More work and tests
Tip revision: 6b1cc78
shared.py
from typing import Any, Dict
def format_dict(d: Dict[Any, Any]):
return (
str(d)
.replace(" ", "")
.replace("],", "],\n")
.replace(":", ":\n")
.replace("},", "},\n")
)