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 86545b4 commit 51e87f8Copy full SHA for 51e87f8
scripts/check-python-files.sh
@@ -55,7 +55,15 @@ 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 || {
+$PYTHON -m pylint framework/scripts/*.py framework/scripts/mbedtls_framework/*.py scripts/[!a]*.py tests/scripts/*.py || {
59
+ echo >&2 "pylint reported errors"
60
+ ret=1
61
+}
62
+
63
+# Temporary workaround while moving the bulk of abi_check.py to the framework
64
+# Check abi_check.py separately from the rest of the files, so it's not flagged
65
+# for code duplication.
66
+$PYTHON -m pylint scripts/a*.py || {
67
echo >&2 "pylint reported errors"
68
ret=1
69
}
0 commit comments