Skip to content

Commit 2db0974

Browse files
fix: get ext if not provided
1 parent cf047d0 commit 2db0974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orbiter/rules/rulesets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def loads(self, file: Path) -> dict:
656656
)
657657

658658
@validate_call
659-
def dumps(self, input_dict: dict, ext: str | None) -> str:
659+
def dumps(self, input_dict: dict, ext: str | None = None) -> str:
660660
"""
661661
Convert Python dictionary back to source string form, useful for testing
662662

0 commit comments

Comments
 (0)