-
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.
Refactoring/13 documentation and formatting (#30)
Release notes * method documentation * module documentation * class documentation * implementing Black format tool * Black tool check into CI * all python code formatted * README.md updated with using new tools
- Loading branch information
1 parent
727889c
commit d2249ea
Showing
21 changed files
with
972 additions
and
282 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 |
---|---|---|
|
@@ -38,9 +38,31 @@ jobs: | |
echo "Success: Pylint score is above 9.5 (project score: $PYLINT_SCORE)." | ||
fi | ||
code-format-check: | ||
runs-on: ubuntu-latest | ||
name: Black Format Check | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install -r requirements.txt | ||
- name: Check code format with Black | ||
id: check-format | ||
run: | | ||
black --check $(git ls-files '*.py') | ||
python-tests: | ||
runs-on: ubuntu-latest | ||
name: Python tests | ||
name: Python Tests | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
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.