mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Merge pull request #64808 from ClickHouse/style-docs
Use tests/ci/style_check.py to check the style
This commit is contained in:
commit
d6db78955f
@ -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