test.sh: update check parameters to match sanity-check

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
diff --git a/test.sh b/test.sh
index fbe3d1a..3fe511d 100755
--- a/test.sh
+++ b/test.sh
@@ -7,6 +7,6 @@
     exit 1
 fi
 
-python3 validate.py -g -s SC1091
+python3 validate.py -p E501 W503 -s SC1091 SC2230
 docker build -f test/Dockerfile."${1}" -t erp-"${1}" . && docker run --rm -it -v "$(pwd)":/work erp-"${1}"