Also exclude node_modules from code analysis

This commit is contained in:
Devon Mackay 2018-07-03 10:54:50 -04:00
parent ed4652e3db
commit fec2f148ab

View File

@ -11,5 +11,6 @@ cd "$(dirname "${0}")/.."
# Run lint/style checks and unit tests
script/test
# Run static code analysis security check (exluding the tests subdir)
bandit -r . -x tests
# Run static code analysis security checks
# (excluding the tests and node_modules subdirs)
bandit -r . -x node_modules,tests