forked from NHERI-SimCenter/pelicun
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
550fbb8
commit b4b3a2b
Showing
29 changed files
with
412 additions
and
154 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,17 @@ jobs: | |
python -m pip install --upgrade pip | ||
pip install black flake8 | ||
- name: Run Black | ||
run: black -S . | ||
uses: psf/black@stable | ||
with: | ||
options: "-S" | ||
- name: Commit changes | ||
run: | | ||
git config --global user.name 'GitHubBot' | ||
git config --global user.email '[email protected]' | ||
git add . | ||
if git diff-index --quiet HEAD --; then | ||
echo "No changes to commit" | ||
echo "No changes to commit." | ||
else | ||
git commit -m "Format code with Black" | ||
git commit -m "Format code with Black." | ||
fi | ||
git push |
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
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
Oops, something went wrong.