Commit Graph

5 Commits

Author SHA1 Message Date
lhinds 2d2170273b Project Migration to PyCQA
This change rehomes the project to PyCQA[1] as reported to the
openstack-dev mailing list [1]

[0] https://github.com/PyCQA/bandit
[1] http://lists.openstack.org/pipermail/openstack-dev/2018-April/129386.html

Change-Id: I6aad329a60799ea24a3d9bc49e35c3c35ed9dc3b
2018-05-04 06:59:50 +02:00
Eric Brown 8dd30b8284 Ensure error exit codes fail integrations
The exit code of sub commands were ignored.  As a result all
integration jobs would pass even when they fail.

Change-Id: I071283d2737199ed710e246740f68f8e857027f2
Closes-Bug: #1546772
2016-03-31 14:50:09 +00:00
Ian Cordasco b4b7d42231 Change into the project directory
Previously this was trying to change into the project which does not
exist in the gate environment.

Change-Id: Ic2e97836e2957c0696eb8534a35fdc73d3daa942
2016-01-18 11:25:21 -06:00
Ian Cordasco 8b33b16b60 Add script to test bandit against projects at gate
This is stolen (and slightly modified) from openstack-dev/hacking:
https://git.openstack.org/cgit/openstack-dev/hacking/tree/integration-test/test.sh
and https://review.openstack.org/268275/

This allows us to define a gate job that will run bandit against the
different OpenStack projects that have adopted Bandit at their gates.

Change-Id: I38bfc2f8298761ebf86152933630f629e545029d
Needed-by: I9c243ce734d7653145d5fa916cc25da5d664603e
2016-01-15 14:53:47 -06:00
Tim Kelsey 8e6697b063 Making Bandit into an installable package and adding tox tests
This large change makes bandit into an installable packahge, needed
for tox testing. I have added the tox testing scaffolding but no
real tests, they will come in a later change. I have also disabled
all failing PEP8 test (lots) since I have changed enough stuff for
one patch. I'll start re-enabling and fixing PEP8 stuff soon.

Change-Id: I774ed9149f285e4e2bceacda0484a7e2a934a3aa
2014-10-22 10:15:28 +01:00