Skip to content

Commit 694d6f1

Browse files
authored
add bandit (#136)
1 parent e41d860 commit 694d6f1

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.bandit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bandit]
2+
exclude: /tests,/training

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ install:
4343

4444
before_script:
4545
- flake8 . --max-line-length=127 --exclude utils/,protos/,training/training_code/
46+
- bandit -r .
4647
- sleep 30
4748

4849
script:

requirements-test.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pytest
22
requests
3-
flake8
3+
flake8
4+
bandit

0 commit comments

Comments
 (0)