Enable pylint for all tests

This commit is contained in:
Pradeep Chhetri 2023-05-24 15:02:22 +08:00 committed by Mikhail f. Shiryaev
parent ec72800d78
commit 67be42fa67
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -152,8 +152,7 @@ find $ROOT_PATH/{src,base,programs,utils} -name '*.xml' |
grep -vP $EXCLUDE_DIRS | grep -vP $EXCLUDE_DIRS |
xargs xmllint --noout --nonet xargs xmllint --noout --nonet
# FIXME: for now only clickhouse-test pylint --rcfile=$ROOT_PATH/.pylintrc --persistent=no --score=n $ROOT_PATH/tests/clickhouse-test $ROOT_PATH/tests/**/*.py
pylint --rcfile=$ROOT_PATH/.pylintrc --persistent=no --score=n $ROOT_PATH/tests/clickhouse-test $ROOT_PATH/tests/ci/*.py
find $ROOT_PATH -not -path $ROOT_PATH'/contrib*' \( -name '*.yaml' -or -name '*.yml' \) -type f | find $ROOT_PATH -not -path $ROOT_PATH'/contrib*' \( -name '*.yaml' -or -name '*.yml' \) -type f |
grep -vP $EXCLUDE_DIRS | grep -vP $EXCLUDE_DIRS |