We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a036ed commit ae74770Copy full SHA for ae74770
tools/test-static-code
@@ -128,8 +128,7 @@ else
128
PYFILES="$(git grep -lI '^#!.*python3') $(git ls-files "*.py")"
129
# W504 and W503 are mutually exclusive (and both disabled by default)
130
# explicitly giving '--ignore W504' here is actually more strict than the default
131
- # TODO: E402 should be fixed
132
- out=$(python3 -m "$PYTHON_STYLE_CHECKER" --max-line-length=415 --ignore E402,W504 $PYFILES) || true
+ out=$(python3 -m "$PYTHON_STYLE_CHECKER" --max-line-length=415 --ignore W504 $PYFILES) || true
133
if [ -n "$out" ]; then
134
echo "$out" >&2
135
echo "not ok 7 $PYTHON_STYLE_CHECKER test"
0 commit comments