new_line on _get_pretty_format is now True by default.

This commit is contained in:
Victorsitou 2022-01-18 00:49:53 -03:00
parent 0d1f9e9fee
commit 545c711244
2 changed files with 1 additions and 4 deletions

View file

@ -14,7 +14,7 @@ def _get_pretty_format(
ensure_ascii: bool = True,
sort_keys: bool = True,
top_keys: Sequence[str] = (),
new_line: bool = False,
new_line: bool = True,
) -> str:
def pairs_first(pairs: Sequence[tuple[str, str]]) -> Mapping[str, str]:
before = [pair for pair in pairs if pair[0] in top_keys]