We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c2d65 commit 5066f2cCopy full SHA for 5066f2c
scripts/check-python-files.sh
@@ -55,7 +55,13 @@ elif [ "$1" = "--can-mypy" ]; then
55
fi
56
57
echo 'Running pylint ...'
58
-$PYTHON -m pylint framework/scripts/*.py framework/scripts/mbedtls_framework/*.py scripts/*.py tests/scripts/*.py || {
+# Temporary workaround while moving the bulk of abi_check.py to the framework
59
+# Check abi_check.py separately from the rest of the files, so it's not flagged
60
+# for code duplication.
61
+find framework/scripts/*.py framework/scripts/mbedtls_framework/*.py scripts/*.py tests/scripts/*.py \
62
+ -path scripts/abi_check.py \
63
+ -exec $PYTHON -m pylint {} + \
64
+ -o -exec $PYTHON -m pylint {} + || {
65
echo >&2 "pylint reported errors"
66
ret=1
67
}
0 commit comments