File tree 4 files changed +8
-0
lines changed
4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change
1
+ [bandit]
2
+ exclude: /tests
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ script:
29
29
- make build
30
30
- make test
31
31
- make lint
32
+ - make bandit
32
33
after_success :
33
34
- bash bin/run.sh
34
35
after_script :
Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ test-coverage:
55
55
lint :
56
56
${DOCKER_COMPOSE} run ${RESOURCES_CONTAINER} flake8 app --statistics --count
57
57
58
+ .PHONY : bandit
59
+ bandit :
60
+ ${DOCKER_COMPOSE} run ${RESOURCES_CONTAINER} bandit -r .
61
+
58
62
.PHONY : help
59
63
help : build
60
64
${DOCKER_COMPOSE} run ${RESOURCES_CONTAINER} ${FLASK} --help
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ pytest-mock==1.10.1
7
7
pyyaml == 5.1
8
8
requests == 2.21.0
9
9
SQLAlchemy-Utils == 0.33.11
10
+ bandit == 1.5.1
You can’t perform that action at this time.
0 commit comments