-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed some minor issues
- Loading branch information
1 parent
4d94664
commit 787c822
Showing
6 changed files
with
10 additions
and
15 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
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 |
---|---|---|
@@ -1,16 +1,11 @@ | ||
#!/usr/bin/env bash | ||
# This script formats the code of this package | ||
|
||
echo "Upgrading python syntax..." | ||
pushd .. > /dev/null | ||
find . -name '*.py' -exec pyupgrade --py39-plus {} + | ||
popd > /dev/null | ||
|
||
echo "Formating import statements..." | ||
echo "Formatting import statements..." | ||
ruff check --fix --config=../pyproject.toml .. | ||
|
||
echo "Formating docstrings..." | ||
echo "Formatting docstrings..." | ||
docformatter --in-place --black --recursive .. | ||
|
||
echo "Formating source code..." | ||
echo "Formatting source code..." | ||
ruff format --config=../pyproject.toml .. |
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
-r ../requirements.txt | ||
docformatter>=1.7 | ||
pyupgrade>=3 | ||
pytest>=5.4 | ||
pytest-cov>=2.8 | ||
pytest-xdist>=1.30 | ||
|
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