Browse Source

Introduce Bandit Security Linter

This patch introduces the bandit security linter as part of the CI tests
run on feedgen.
bandit
Lars Kiesow 3 years ago
parent
commit
2b77fd58eb
No known key found for this signature in database GPG Key ID: 5DAFE8D9C823CE73
  1. 2
      .travis.yml
  2. 1
      Makefile

2
.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*

1
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

Loading…
Cancel
Save