mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 18:44:21 +08:00
Run black on ipynb (#80)
This commit is contained in:
1 parent
fb440fedf3
commit
443fdef553
6 files changed
+69
-76
No files matched your search
@@ -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}")
|
||||
|
||||
Reference in new issue
Block a user