mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 01:12:12 +00:00
11905682a9
Recently assert-on-tuple had been introduced in tests [1], let's prevent this. [1]: https://github.com/ClickHouse/ClickHouse/pull/56367#discussion_r1437098533 v2: pin flake8 to 4.0.1 (instead of originally 6.1) due to other dependencies, hope that it will find such errors Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
33 lines
1.5 KiB
Bash
Executable File
33 lines
1.5 KiB
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
|
|
echo "Check duplicates" | ts
|
|
./check-duplicate-includes.sh |& tee /test_output/duplicate_includes_output.txt
|
|
echo "Check style" | ts
|
|
./check-style -n |& tee /test_output/style_output.txt
|
|
echo "Check python formatting with black" | ts
|
|
./check-black -n |& tee /test_output/black_output.txt
|
|
echo "Check python with flake8" | ts
|
|
./check-flake8 |& tee /test_output/flake8_output.txt
|
|
echo "Check python type hinting with mypy" | ts
|
|
./check-mypy -n |& tee /test_output/mypy_output.txt
|
|
echo "Check typos" | ts
|
|
./check-typos |& tee /test_output/typos_output.txt
|
|
echo "Check docs spelling" | ts
|
|
./check-doc-aspell |& tee /test_output/docs_spelling_output.txt
|
|
echo "Check whitespaces" | ts
|
|
./check-whitespaces -n |& tee /test_output/whitespaces_output.txt
|
|
echo "Check workflows" | ts
|
|
./check-workflows |& tee /test_output/workflows_output.txt
|
|
echo "Check submodules" | ts
|
|
./check-submodules |& tee /test_output/submodules_output.txt
|
|
echo "Check shell scripts with shellcheck" | ts
|
|
./shellcheck-run.sh |& tee /test_output/shellcheck_output.txt
|
|
|
|
/process_style_check_result.py || echo -e "failure\tCannot parse results" > /test_output/check_status.tsv
|
|
echo "Check help for changelog generator works" | ts
|
|
cd ../changelog || exit 1
|
|
./changelog.py -h 2>/dev/null 1>&2
|