-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added update script and things from PR 55 (#57)
- Loading branch information
1 parent
21d4158
commit ee40371
Showing
5 changed files
with
270 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
python _nx_parallel/update_get_info.py | ||
|
||
ruff format "_nx_parallel/temp__init__.py" | ||
|
||
# Check if there's any difference between the original file and the formatted one | ||
if diff -q "_nx_parallel/__init__.py" "_nx_parallel/temp__init__.py" >/dev/null; then | ||
rm "_nx_parallel/temp__init__.py" | ||
else | ||
mv "_nx_parallel/temp__init__.py" "_nx_parallel/__init__.py" | ||
fi |
Oops, something went wrong.