Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 559264

Summary: dev-python/bandit-0.13.0 requires /etc/bandit/bandit.yaml
Product: Gentoo Linux Reporter: Austin English (RETIRED) <wizardedit>
Component: [OLD] DevelopmentAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://github.com/openstack/bandit/commit/80c7798e5140203ae8d48d11a3de660db1de8f80
Whiteboard:
Package list:
Runtime testing required: ---

Description Austin English (RETIRED) gentoo-dev 2015-08-31 17:38:06 UTC
After https://github.com/openstack/bandit/commit/80c7798e5140203ae8d48d11a3de660db1de8f80 (bandit 0.13.0+), bandit expects its configuration file to be available in one of a few places:

austin@localhost /tmp/project $ bandit -r .
[bandit]	ERROR	no config found - tried: ./bandit.yaml, /home/austin/.config/bandit/bandit.yaml, /etc/bandit/bandit.yaml, /usr/local/etc/bandit/bandit.yaml


Reproducible: Always

Steps to Reproduce:
emerge bandit >=0.13.0
bandit -r .
Actual Results:  
bandit fails

Expected Results:  
bandit scans sources
Comment 1 Brian Evans (RETIRED) gentoo-dev 2015-09-01 17:39:42 UTC

*** This bug has been marked as a duplicate of bug 558062 ***