chore: add bandit and flake8 to python dev deps

This commit is contained in:
jo 2022-02-14 09:35:20 +01:00 committed by Kyle Robbertze
parent 42c2ecdf48
commit 98cbbab4ad
1 changed files with 8 additions and 0 deletions

View File

@ -6,10 +6,13 @@ CPU_CORES = $(shell nproc)
# PIP_INSTALL = --editable .
# PYLINT_ARG =
# MYPY_ARG =
# BANDIT_ARG =
# PYTEST_ARG =
SHARED_DEV_REQUIREMENTS = \
bandit \
black \
flake8 \
isort \
mypy \
pylint \
@ -51,6 +54,11 @@ install: $(VENV)
source $(VENV)/bin/activate
mypy $(MYPY_ARG)
.PHONY: .bandit
.bandit: $(VENV)
source $(VENV)/bin/activate
bandit -r $(BANDIT_ARG)
.PHONY: .pytest
.pytest: $(VENV)
source $(VENV)/bin/activate