1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 01:34:42 +00:00

improve testing

This commit is contained in:
deadc0de6
2023-01-28 11:53:47 +01:00
committed by deadc0de
parent 163dc8afca
commit ba1cb8e5b6

9
test-syntax.sh vendored
View File

@@ -50,14 +50,19 @@ find . -iname '*.sh' | while read -r script; do
-e SC2002 \
-e SC2126 \
-e SC2129 \
-e SC2181 "${script}"
-e SC2181 \
"${script}"
done
# check other python scripts
echo "checking other python scripts with pylint"
find . -name "*.py" -not -path "./dotdrop/*" | while read -r script; do
echo "checking ${script}"
pylint --reports=no "${script}"
pylint -sn \
--disable=R0914 \
--disable=R0915 \
--disable=R0913 \
"${script}"
done
# PEP8 tests