mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-05 01:34:42 +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 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
|
||||
|
||||
Reference in New Issue
Block a user