Tools - add bandit
This commit is contained in:
3
.github/workflows/.tests-python.yml
vendored
3
.github/workflows/.tests-python.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user