mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-25 12:01:40 +01:00
Add Prospector (Python Static Analysis) config and run script.
This commit is contained in:
parent
3f6a8eb7ba
commit
71a18e153c
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
|
Loading…
Reference in New Issue
Block a user