ClickHouse/utils/check-style/check_py.sh
Max Kainov 681bd28c87 CI: make style check fast
#do_not_test
2024-03-09 20:57:23 +00:00

18 lines
603 B
Bash
Executable File

#!/bin/bash
# yaml check is not the best one
cd /ClickHouse/utils/check-style || echo -e "failure\tRepo not found" > /test_output/check_status.tsv
# FIXME: 1 min to wait + head checkout
# echo "Check python formatting with black" | ts
# ./check-black -n |& tee /test_output/black_output.txt
echo "Check pylint" | ts
./check-pylint -n |& tee /test_output/pylint_output.txt
echo "Check pylint. Done" | ts
echo "Check python type hinting with mypy" | ts
./check-mypy -n |& tee /test_output/mypy_output.txt
echo "Check python type hinting with mypy. Done" | ts