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:
parent
f57a01b20f
commit
2b77fd58eb
2 changed files with 2 additions and 1 deletions
|
@ -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*
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue