Lines Matching +full:report +full:- +full:error
3 # $ bitbake python-foo -c bandit
5 # Writes the report to $DEPLOY_DIR/bandit/python-foo.html.
13 # The report format to use.
22 # recipe, including non-Python recipes, causing circular loops.
25 # Whether Bandit finding issues results in a warning (0) or an error (1).
28 do_bandit[depends] = "python3-bandit-native:do_populate_sysroot"
32 report = d.expand("${DEPLOY_DIR}/bandit/${PN}-${PV}.${BANDIT_FORMAT}")
33 os.makedirs(os.path.dirname(report), exist_ok=True)
36 "--format", d.getVar("BANDIT_FORMAT"),
37 "--output", report,
38 "-ll",
39 "--recursive", d.getVar("BANDIT_SOURCE"))
41 bb.note("Bandit found no issues (report written to %s)" % report)
45 bb.error("Bandit found issues (report written to %s)" % report)
47 bb.warn("Bandit found issues (report written to %s)" % report)
49 bb.error("Bandit failed:\n" + e.output.decode("utf-8"))
62 # TODO: store report in sstate
63 # TODO: a way to pass extra args or .bandit file, basically control -ll