Tools - add bandit

This commit is contained in:
Sam
2022-05-28 20:01:14 +02:00
parent a9c20ad753
commit b5d09008ee
9 changed files with 156 additions and 8 deletions

View File

@ -41,6 +41,9 @@ jobs:
pip install --quiet poetry
poetry config virtualenvs.create false
poetry install --no-interaction --quiet
- name: Bandit
if: matrix.python-version == '3.10'
run: bandit -r fittrackee -c pyproject.toml
- name: Lint
if: matrix.python-version == '3.10'
run: pytest --flake8 --isort --black -m "flake8 or isort or black" fittrackee e2e --ignore=fittrackee/migrations -p no:warnings