From 98cbbab4adf815ee99c18d1cf57b37b16fc04488 Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 14 Feb 2022 09:35:20 +0100 Subject: [PATCH] chore: add bandit and flake8 to python dev deps --- tools/python.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/python.mk b/tools/python.mk index 00f46af38..34c0bf59c 100644 --- a/tools/python.mk +++ b/tools/python.mk @@ -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