We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
None
1 parent d8c1288 commit d61b11cCopy full SHA for d61b11c
remarshal.py
@@ -90,7 +90,7 @@ def extension_to_format(path: str) -> str:
90
91
def parse_command_line(argv: List[str]) -> argparse.Namespace: # noqa: C901.
92
defaults: Dict[str, Any] = {
93
- "json_indent": 0,
+ "json_indent": None,
94
"ordered": True,
95
"yaml_options": {},
96
}
@@ -559,7 +559,7 @@ def remarshal(
559
output_format: str,
560
wrap: Union[str, None] = None,
561
unwrap: Union[str, None] = None,
562
- json_indent: Union[int, None] = 0,
+ json_indent: Union[int, None] = None,
563
yaml_options: Dict[Any, Any] = {},
564
ordered: bool = True, # noqa: FBT001
565
transform: Union[Callable[[Document], Document], None] = None,
0 commit comments