mirror of https://github.com/jtesta/ssh-audit.git
Add Prospector (Python Static Analysis) config and run script.
This commit is contained in:
parent
3f6a8eb7ba
commit
71a18e153c
|
@ -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"
|
|
@ -0,0 +1,9 @@
|
||||||
|
inherits:
|
||||||
|
- strictness_veryhigh
|
||||||
|
|
||||||
|
pep8:
|
||||||
|
disable:
|
||||||
|
- W191
|
||||||
|
- W293
|
||||||
|
- E501
|
||||||
|
- E221
|
Loading…
Reference in New Issue