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.
1 parent e3b8de6 commit d8ef3a3Copy full SHA for d8ef3a3
scripts/make_script.py
@@ -78,6 +78,11 @@ def main(args):
78
# read the formatted content back
79
with open(temp_file_path) as temp_file:
80
sim_string = temp_file.read()
81
+ except subprocess.CalledProcessError:
82
+ raise RuntimeError(
83
+ "Ruff formatting failed. Your script might not be compatible with make_script.py. "
84
+ "This could be due to unsupported features like CustomMedium."
85
+ )
86
finally:
87
# remove the temporary file
88
os.remove(temp_file_path)
0 commit comments