Skip to content

Commit

Permalink
Move .bandit into setup.cfg and add bandit to .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Byers committed Jan 10, 2018
1 parent bcb1e98 commit 842ddd0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .bandit

This file was deleted.

1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ script:
- ./manage.py lambda test --processor all
- sphinx-build -W docs/source docs/build
- ./tests/scripts/pylint.sh
- bandit --ini setup.cfg -r .
after_success:
coveralls
11 changes: 11 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ nocapture=1
[pycodestyle]
max-line-length=90

[bandit]
# Skip the venv/ and tests/ directories when scanning.
exclude: venv,tests

# Skip the following tests:
#
# - [B404:blacklist] Consider possible security implications associated with subprocess module.
# Severity: Low Confidence: High
# There are other warnings specific to subprocess calls (e.g. B603, B607)
skips: B404

[yapf]
COLUMN_LIMIT=100

Expand Down

0 comments on commit 842ddd0

Please sign in to comment.