Excluded ipynb files from json pretty formatter + poetry update (#50)

* Excluded ipynb files from json pretty formatter +  poetry update
* Reworked pip audit
* Relocated dependencies
* Reworked the tests a bit.
* Poetry update
* Excluded lint and test workflows against the target branch
This commit is contained in:
2023-08-16 20:25:15 +02:00
committed by GitHub
parent 1e7e55e649
commit 9c237402be
5 changed files with 545 additions and 50 deletions

View File

@ -49,7 +49,7 @@ jobs:
- run: poetry install --without develop,doc
- name: Run linters
run: |
mypy src tests
mypy src tests --install-types --non-interactive
ruff:
runs-on: ubuntu-latest
@ -85,8 +85,8 @@ jobs:
run: poetry export -f requirements.txt --output requirements.txt
- name: Check license
run: |
poetry run pip install pip-licenses
poetry run pip-licenses --format=markdown --output-file=license-summary.md
pip install pip-licenses
pip-licenses --format=markdown --output-file=license-summary.md
- name: Archive license summary
uses: actions/upload-artifact@v3
with:
@ -95,6 +95,7 @@ jobs:
license-summary.md
requirements.txt
- name: Check requirements security with pip-audit
uses: pypa/gh-action-pip-audit@v1.0.0
with:
inputs: requirements.txt
run: |
pip install pip-audit
pip-audit -r requirements.txt --no-deps --disable-pip || true
pip-audit -r requirements.txt --format=markdown --output=lbr-audit.md --no-deps --disable-pip