-
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
d7498f3
commit 4e33ade
Showing
7 changed files
with
90 additions
and
60 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 |
---|---|---|
@@ -1,28 +1,56 @@ | ||
on: [ push, pull_request ] | ||
on: [push, pull_request] | ||
|
||
name: CI | ||
|
||
jobs: | ||
checks: | ||
name: Checks | ||
lint: | ||
name: Code Quality | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [ 3.12 ] | ||
check: [ ruff, blue, isort, pydocstyle, radon, mypy, bandit ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
- name: Copy files from repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
python-version: '3.12' | ||
|
||
- name: Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install poetry | ||
poetry config virtualenvs.create false | ||
poetry install | ||
- name: Run checks | ||
- name: Run Ruff | ||
run: poetry run task lint | ||
|
||
- name: Run Radon | ||
run: poetry run task radon | ||
|
||
- name: Run MyPy | ||
run: poetry run task mypy | ||
|
||
security: | ||
name: Code Security | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Copy files from repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
|
||
- name: Install Dependencies | ||
run: | | ||
task ${{ matrix.check }} | ||
python -m pip install --upgrade pip | ||
pip install poetry | ||
poetry config virtualenvs.create false | ||
poetry install | ||
- name: Run Bandit | ||
run: poetry run task bandit |
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,42 +1,42 @@ | ||
babel==2.14.0 ; python_version >= "3.11" and python_version < "4.0" | ||
certifi==2024.2.2 ; python_version >= "3.11" and python_version < "4.0" | ||
babel==2.16.0 ; python_version >= "3.11" and python_version < "4.0" | ||
certifi==2024.7.4 ; python_version >= "3.11" and python_version < "4.0" | ||
charset-normalizer==3.3.2 ; python_version >= "3.11" and python_version < "4.0" | ||
click==8.1.7 ; python_version >= "3.11" and python_version < "4.0" | ||
colorama==0.4.6 ; python_version >= "3.11" and python_version < "4.0" | ||
ghp-import==2.1.0 ; python_version >= "3.11" and python_version < "4.0" | ||
gitdb==4.0.11 ; python_version >= "3.11" and python_version < "4" | ||
gitpython==3.1.43 ; python_version >= "3.11" and python_version < "4" | ||
griffe==0.44.0 ; python_version >= "3.11" and python_version < "4.0" | ||
idna==3.7 ; python_version >= "3.11" and python_version < "4.0" | ||
jinja2==3.1.3 ; python_version >= "3.11" and python_version < "4.0" | ||
markdown==3.6 ; python_version >= "3.11" and python_version < "4.0" | ||
griffe==1.2.0 ; python_version >= "3.11" and python_version < "4.0" | ||
idna==3.8 ; python_version >= "3.11" and python_version < "4.0" | ||
jinja2==3.1.4 ; python_version >= "3.11" and python_version < "4.0" | ||
markdown==3.7 ; python_version >= "3.11" and python_version < "4.0" | ||
markupsafe==2.1.5 ; python_version >= "3.11" and python_version < "4.0" | ||
mergedeep==1.3.4 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-autorefs==1.0.1 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-autorefs==1.1.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-get-deps==0.2.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-git-authors-plugin==0.8.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-git-authors-plugin==0.9.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-git-committers-plugin-2==2.3.0 ; python_version >= "3.11" and python_version < "4" | ||
mkdocs-git-revision-date-localized-plugin==1.2.5 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-git-revision-date-localized-plugin==1.2.7 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-macros-plugin==1.0.5 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-material-extensions==1.3.1 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-material==9.5.20 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs-material==9.5.33 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocs==1.6.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocstrings-python==1.10.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocstrings==0.25.0 ; python_version >= "3.11" and python_version < "4.0" | ||
packaging==24.0 ; python_version >= "3.11" and python_version < "4.0" | ||
paginate==0.5.6 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocstrings-python==1.10.8 ; python_version >= "3.11" and python_version < "4.0" | ||
mkdocstrings==0.25.2 ; python_version >= "3.11" and python_version < "4.0" | ||
packaging==24.1 ; python_version >= "3.11" and python_version < "4.0" | ||
paginate==0.5.7 ; python_version >= "3.11" and python_version < "4.0" | ||
pathspec==0.12.1 ; python_version >= "3.11" and python_version < "4.0" | ||
platformdirs==4.2.1 ; python_version >= "3.11" and python_version < "4.0" | ||
pygments==2.17.2 ; python_version >= "3.11" and python_version < "4.0" | ||
pymdown-extensions==10.8.1 ; python_version >= "3.11" and python_version < "4.0" | ||
platformdirs==4.2.2 ; python_version >= "3.11" and python_version < "4.0" | ||
pygments==2.18.0 ; python_version >= "3.11" and python_version < "4.0" | ||
pymdown-extensions==10.9 ; python_version >= "3.11" and python_version < "4.0" | ||
python-dateutil==2.9.0.post0 ; python_version >= "3.11" and python_version < "4.0" | ||
pytz==2024.1 ; python_version >= "3.11" and python_version < "4.0" | ||
pyyaml-env-tag==0.1 ; python_version >= "3.11" and python_version < "4.0" | ||
pyyaml==6.0.1 ; python_version >= "3.11" and python_version < "4.0" | ||
regex==2024.4.28 ; python_version >= "3.11" and python_version < "4.0" | ||
requests==2.31.0 ; python_version >= "3.11" and python_version < "4.0" | ||
pyyaml==6.0.2 ; python_version >= "3.11" and python_version < "4.0" | ||
regex==2024.7.24 ; python_version >= "3.11" and python_version < "4.0" | ||
requests==2.32.3 ; python_version >= "3.11" and python_version < "4.0" | ||
six==1.16.0 ; python_version >= "3.11" and python_version < "4.0" | ||
smmap==5.0.1 ; python_version >= "3.11" and python_version < "4" | ||
termcolor==2.4.0 ; python_version >= "3.11" and python_version < "4.0" | ||
urllib3==2.2.1 ; python_version >= "3.11" and python_version < "4.0" | ||
watchdog==4.0.0 ; python_version >= "3.11" and python_version < "4.0" | ||
urllib3==2.2.2 ; python_version >= "3.11" and python_version < "4.0" | ||
watchdog==5.0.0 ; python_version >= "3.11" and python_version < "4.0" |
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
This file was deleted.
Oops, something went wrong.