mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Use tests/ci/style_check.py to check the style
This commit is contained in:
parent
c0aad2a2b5
commit
0fe2c1dae4
@ -71,7 +71,7 @@ If it fails, fix the style errors following the [code style guide](style.md).
|
|||||||
```sh
|
```sh
|
||||||
mkdir -p /tmp/test_output
|
mkdir -p /tmp/test_output
|
||||||
# running all checks
|
# running all checks
|
||||||
docker run --rm --volume=.:/ClickHouse --volume=/tmp/test_output:/test_output -u $(id -u ${USER}):$(id -g ${USER}) --cap-add=SYS_PTRACE clickhouse/style-test
|
python3 tests/ci/style_check.py --no-push
|
||||||
|
|
||||||
# run specified check script (e.g.: ./check-mypy)
|
# run specified check script (e.g.: ./check-mypy)
|
||||||
docker run --rm --volume=.:/ClickHouse --volume=/tmp/test_output:/test_output -u $(id -u ${USER}):$(id -g ${USER}) --cap-add=SYS_PTRACE --entrypoint= -w/ClickHouse/utils/check-style clickhouse/style-test ./check-mypy
|
docker run --rm --volume=.:/ClickHouse --volume=/tmp/test_output:/test_output -u $(id -u ${USER}):$(id -g ${USER}) --cap-add=SYS_PTRACE --entrypoint= -w/ClickHouse/utils/check-style clickhouse/style-test ./check-mypy
|
||||||
|
Loading…
Reference in New Issue
Block a user