Run black on ipynb (#80)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-05-18 09:36:38 -07:00
1 parent fb440fedf3
commit 443fdef553
6 files changed
+69 -76

No files matched your search

+2 -5
View File
@@ -12,11 +12,8 @@ if __name__ == "__main__":
for step in steps:
if "name" in step and step["name"] in LOCAL_TESTS:
if step["name"] == "Run Black":
curr_command = f"black mattport/ {step['with']['options']};"
else:
compressed = step["run"].replace("\n", ";").replace("\\", "")
curr_command = f"{compressed}"
compressed = step["run"].replace("\n", ";").replace("\\", "")
curr_command = f"{compressed}"
print("*" * 100)
print(f"Running {curr_command}")