-
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
6fbef5b
commit 0c8942b
Showing
7 changed files
with
28 additions
and
179 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
#!/bin/bash | ||
black . | ||
git config --global user.name 'Jorgedavyd' | ||
git config --global user.email 'jorged.encyso@gmail.com' | ||
git diff --exit-code || (git add . && git commit -m "Automatically formatted with black" && 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
python3 -m pip install --upgrade pip | ||
pip3 install pytest black pipreqs pip-tools | ||
pipreqs lightorch --savepath=./requirements.in | ||
sed -i 's/==.*$//' requirements.in | ||
sort requirements.in | uniq > requirements_unique.in | ||
pip-compile ./requirements_unique.in | ||
rm -f *.in | ||
pip install -r requirements_unique.txt |
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,4 @@ | ||
#!/bin/bash | ||
pytest tests/ | ||
find . -type d -name "__pycache__" -exec rm -rf {} + | ||
|