[VOL-3353] Enable security checks

Change-Id: Id9f16fbf3ddb09f8ecae2f356b543738ebf0d739
diff --git a/python/Makefile b/python/Makefile
index e094133..4abcff6 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -38,6 +38,10 @@
 DOCKER_LABEL_BUILD_DATE    ?= $(shell date -u "+%Y-%m-%dT%H:%M:%SZ")
 DOCKER_LABEL_COMMIT_DATE   = $(shell git show -s --format=%cd --date=iso-strict HEAD)
 
+## Python tox tests
+VOLTHA_TOOLS_VERSION ?= 2.3.0
+TOX = docker run --rm --user $$(id -u):$$(id -g) -v ${CURDIR}:/app $(shell test -t 0 && echo "-it") voltha/voltha-ci-tools:${VOLTHA_TOOLS_VERSION}-python tox
+
 .PHONY: venv docker-build local-protos local-pyvoltha
 
 # This should to be the first and default target in this Makefile
@@ -51,6 +55,7 @@
 	@echo "venv              : Build local Python virtualenv"
 	@echo "clean             : Remove files created by the build and tests"
 	@echo "distclean         : Remove venv directory"
+	@echo "sca               : Starts sca checks"
 	@echo
 
 
@@ -121,4 +126,11 @@
 distclean: clean
 	rm -rf ${VENVDIR}
 
+sca:
+	@rm -rf ./sca-report
+	@mkdir -p ./sca-report
+	@echo "Running static code analysis..."
+	@$(TOX) --result-json ./sca-report/sca-report.json
+	@echo ""
+	@echo "Static code analysis OK"
 # end file