diff --git a/src/cq_cli/cqcodecs/cq_codec_stl.py b/src/cq_cli/cqcodecs/cq_codec_stl.py index 681ce15..3f67e64 100644 --- a/src/cq_cli/cqcodecs/cq_codec_stl.py +++ b/src/cq_cli/cqcodecs/cq_codec_stl.py @@ -30,9 +30,7 @@ def convert(build_result, output_file=None, error_file=None, output_opts=None): result = result.val() # Put the STL output into the temp file - result.exportStl( - temp_file, linearDeflection, angularDeflection, True - ) + result.exportStl(temp_file, linearDeflection, angularDeflection, True) # Read the STL output back in with open(temp_file, "r") as file: diff --git a/src/cq_cli/cqcodecs/cq_codec_svg.py b/src/cq_cli/cqcodecs/cq_codec_svg.py index 7a9aff4..bc7d6be 100644 --- a/src/cq_cli/cqcodecs/cq_codec_svg.py +++ b/src/cq_cli/cqcodecs/cq_codec_svg.py @@ -19,10 +19,7 @@ def convert(build_result, output_file=None, error_file=None, output_opts=None): # Put the STEP output into the temp file exporters.export( - result, - temp_file, - exporters.ExportTypes.SVG, - opt=output_opts, + result, temp_file, exporters.ExportTypes.SVG, opt=output_opts, ) # Read the STEP output back in diff --git a/tests/test_stl_codec.py b/tests/test_stl_codec.py index 33fb3ac..d6f6648 100644 --- a/tests/test_stl_codec.py +++ b/tests/test_stl_codec.py @@ -75,4 +75,4 @@ def test_stl_codec_with_assembly(): ] out, err, exitcode = helpers.cli_call(command) - assert out.decode().split("\n")[0].replace("\r", "") == "solid " \ No newline at end of file + assert out.decode().split("\n")[0].replace("\r", "") == "solid "