From 52375707070a733561f53fe42012a56e0b25fade Mon Sep 17 00:00:00 2001 From: chang-ning Date: Wed, 15 Aug 2018 19:09:19 +0800 Subject: [PATCH] add bandit for security check --- Makefile | 1 + requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 709f5d9a..a637a892 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ build: html test: clean build pycodestyle $(SRC) pydocstyle $(SRC) + bandit $(SRC) coverage run app_test.py && coverage report --fail-under=90 -m $(SRC) ifeq ($(PY36), 1) black --quiet --diff --check --line-length 79 $(SRC) diff --git a/requirements.txt b/requirements.txt index 5fe2d774..f310d3dd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ alabaster==0.7.11 +bandit==1.4.0 coverage==4.5.1 coveralls==1.3.0 docutils==0.14