Skip to content

Commit

Permalink
updated script.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Schefflera-Arboricola committed May 9, 2024
1 parent 1db9170 commit a551551
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions _nx_parallel/script.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/bin/bash

python _nx_parallel/update_get_info.py

# Check if the __init__.py file has been modified
if [[ $(git status --porcelain _nx_parallel/__init__.py) ]]; then
black _nx_parallel/__init__.py
ruff format _nx_parallel/__init__.py
git add _nx_parallel/__init__.py
fi
black _nx_parallel/__init__.py
ruff format _nx_parallel/__init__.py
git add _nx_parallel/__init__.py

0 comments on commit a551551

Please sign in to comment.