Skip B105 pep8 error: hardcoded passwords
Skip B105 pep8 error:
* https://bandit.readthedocs.io/en/latest/plugins/b105_hardcoded_password_string.html
* https://cwe.mitre.org/data/definitions/259.html
Trivial-Fix
Change-Id: I8e58da2d88d727018c8d5af5949e34f8c0893c1f
(cherry picked from commit 28628e8f96)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Bernard Cafarelli
					
				
			
			
				
	
			
			
			
						parent
						
							6ca3341352
						
					
				
				
					commit
					b080843706
				
			
							
								
								
									
										5
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								tox.ini
									
									
									
									
									
								
							@@ -81,8 +81,11 @@ enable-extensions=H904
 | 
			
		||||
 | 
			
		||||
[testenv:bandit]
 | 
			
		||||
# B303: blacklist calls: md5, sha1
 | 
			
		||||
# B105: The software contains a hard-coded password, which it uses for its own
 | 
			
		||||
#       inbound authentication or for outbound communication to external
 | 
			
		||||
#       components.
 | 
			
		||||
deps = -r{toxinidir}/test-requirements.txt
 | 
			
		||||
commands = bandit -r neutronclient -x tests -n5 -s B303
 | 
			
		||||
commands = bandit -r neutronclient -x tests -n5 -s B303,B105
 | 
			
		||||
 | 
			
		||||
[testenv:lower-constraints]
 | 
			
		||||
deps =
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user