Introduce Bandit Security Linter

This patch introduces the bandit security linter as part of the CI tests
run on feedgen.
This commit is contained in:
Lars Kiesow 2020-01-28 17:50:53 +01:00
parent f57a01b20f
commit 2b77fd58eb
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,7 @@ python:
- 3.8 - 3.8
install: install:
- pip install flake8 python-coveralls coverage liccheck - pip install bandit flake8 python-coveralls coverage liccheck
- pip install -r requirements.txt - pip install -r requirements.txt
- python setup.py bdist_wheel - python setup.py bdist_wheel
- pip install dist/feedgen* - pip install dist/feedgen*

View file

@ -51,3 +51,4 @@ publish:
test: test:
coverage run --source=feedgen -m unittest discover -s tests coverage run --source=feedgen -m unittest discover -s tests
flake8 $$(find setup.py tests feedgen -name '*.py') flake8 $$(find setup.py tests feedgen -name '*.py')
bandit -r feedgen