Skip to content

Commit af29d24

Browse files
committed
fix: format CLI and tests with ruff
1 parent 4a5ca32 commit af29d24

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,7 @@ def test_error_check_and_output_together(self, tmp_path):
331331
output_file = tmp_path / "output.toon"
332332

333333
with patch("sys.stderr", new_callable=StringIO) as mock_stderr:
334-
with patch(
335-
"sys.argv", ["toon", str(input_file), "--check", "-o", str(output_file)]
336-
):
334+
with patch("sys.argv", ["toon", str(input_file), "--check", "-o", str(output_file)]):
337335
result = main()
338336
assert result == 1
339337
assert "Cannot specify both --check and --output" in mock_stderr.getvalue()

0 commit comments

Comments
 (0)