mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-10-30 21:15:27 +01:00 
			
		
		
		
	Add Prospector (Python Static Analysis) config and run script.
This commit is contained in:
		
							
								
								
									
										8
									
								
								test/prospector.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								test/prospector.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | #!/bin/sh | ||||||
|  | _cdir=$(cd -- "$(dirname "$0")" && pwd) | ||||||
|  | type prospector > /dev/null 2>&1 | ||||||
|  | if [ $? -ne 0 ]; then | ||||||
|  | 	echo "err: prospector (Python Static Analysis) not found." | ||||||
|  | 	exit 1 | ||||||
|  | fi | ||||||
|  | prospector --profile-path "${_cdir}" -P prospector "${_cdir}/../ssh-audit.py" | ||||||
							
								
								
									
										9
									
								
								test/prospector.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								test/prospector.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | inherits: | ||||||
|  |     - strictness_veryhigh | ||||||
|  |  | ||||||
|  | pep8: | ||||||
|  |     disable: | ||||||
|  |         - W191 | ||||||
|  |         - W293 | ||||||
|  |         - E501 | ||||||
|  |         - E221 | ||||||
		Reference in New Issue
	
	Block a user
	 Andris Raugulis
					Andris Raugulis