From 2b77fd58eb1fb230e3c80e2cc4c5b0c4d05b6150 Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Tue, 28 Jan 2020 17:50:53 +0100 Subject: [PATCH] Introduce Bandit Security Linter This patch introduces the bandit security linter as part of the CI tests run on feedgen. --- .travis.yml | 2 +- Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 80721da..c58695e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ python: - 3.8 install: - - pip install flake8 python-coveralls coverage liccheck + - pip install bandit flake8 python-coveralls coverage liccheck - pip install -r requirements.txt - python setup.py bdist_wheel - pip install dist/feedgen* diff --git a/Makefile b/Makefile index 50c88d9..a4c34de 100644 --- a/Makefile +++ b/Makefile @@ -51,3 +51,4 @@ publish: test: coverage run --source=feedgen -m unittest discover -s tests flake8 $$(find setup.py tests feedgen -name '*.py') + bandit -r feedgen