rendered paste bodyaustin@qba11 ~/subway $ diff -ur ~/bandit.yaml bandit.yaml
--- /home/austin/bandit.yaml 2015-08-31 17:47:41.096918842 +0000
+++ bandit.yaml 2015-08-31 17:53:38.216883975 +0000
@@ -31,7 +31,7 @@
All:
include:
- any_other_function_with_shell_equals_true
- - assert_used
+ #- assert_used
- blacklist_calls
- blacklist_import_func
- blacklist_imports
@@ -40,7 +40,7 @@
- hardcoded_bind_all_interfaces
- hardcoded_password
- hardcoded_sql_expressions
- - hardcoded_tmp_directory
+ #- hardcoded_tmp_directory
- jinja2_autoescape_false
- linux_commands_wildcard_injection
- paramiko_calls
austin@qba11 ~/subway $ bandit -r .
[bandit] INFO using config: ./bandit.yaml
[bandit] INFO running on Python 3.4.3
Run started:
2015-08-31 17:55:56.509091
Files skipped (0):
Test results:
>> Issue: Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Severity: Low Confidence: High
Location: ./src/test/subway/test_subway_subway.py:104
103 t.join()
104 assert provider.push_metrics.called
105