mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 10:49:17 +00:00
improve testing
This commit is contained in:
9
test-syntax.sh
vendored
9
test-syntax.sh
vendored
@@ -50,14 +50,19 @@ find . -iname '*.sh' | while read -r script; do
|
|||||||
-e SC2002 \
|
-e SC2002 \
|
||||||
-e SC2126 \
|
-e SC2126 \
|
||||||
-e SC2129 \
|
-e SC2129 \
|
||||||
-e SC2181 "${script}"
|
-e SC2181 \
|
||||||
|
"${script}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# check other python scripts
|
# check other python scripts
|
||||||
echo "checking other python scripts with pylint"
|
echo "checking other python scripts with pylint"
|
||||||
find . -name "*.py" -not -path "./dotdrop/*" | while read -r script; do
|
find . -name "*.py" -not -path "./dotdrop/*" | while read -r script; do
|
||||||
echo "checking ${script}"
|
echo "checking ${script}"
|
||||||
pylint --reports=no "${script}"
|
pylint -sn \
|
||||||
|
--disable=R0914 \
|
||||||
|
--disable=R0915 \
|
||||||
|
--disable=R0913 \
|
||||||
|
"${script}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# PEP8 tests
|
# PEP8 tests
|
||||||
|
|||||||
Reference in New Issue
Block a user