mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
style fix
This commit is contained in:
parent
19365597eb
commit
69d1495672
@ -8,14 +8,13 @@ import sys
|
||||
|
||||
from github import Github
|
||||
|
||||
from commit_status_helper import get_commit
|
||||
from env_helper import CACHES_PATH, TEMP_PATH, GITHUB_SERVER_URL, GITHUB_REPOSITORY
|
||||
from pr_info import FORCE_TESTS_LABEL, PRInfo, SKIP_SIMPLE_CHECK_LABEL
|
||||
from s3_helper import S3Helper
|
||||
from get_robot_token import get_best_robot_token
|
||||
from upload_result_helper import upload_results
|
||||
from docker_pull_helper import get_image_with_version
|
||||
from commit_status_helper import post_commit_status
|
||||
from commit_status_helper import post_commit_status, get_commit
|
||||
from clickhouse_helper import (
|
||||
ClickHouseHelper,
|
||||
mark_flaky_tests,
|
||||
@ -227,6 +226,9 @@ if __name__ == "__main__":
|
||||
)
|
||||
commit = get_commit(gh, pr_info.sha)
|
||||
commit.create_status(
|
||||
context="Simple Check", description=f"{NAME} failed", state="failed", target_url=url
|
||||
context="Simple Check",
|
||||
description=f"{NAME} failed",
|
||||
state="failed",
|
||||
target_url=url
|
||||
)
|
||||
sys.exit(1)
|
||||
|
@ -224,7 +224,10 @@ if __name__ == "__main__":
|
||||
remove_labels(gh, pr_info, pr_labels_to_remove)
|
||||
|
||||
commit.create_status(
|
||||
context="Simple Check", description="Skipped", state="success", target_url=GITHUB_RUN_URL
|
||||
context="Simple Check",
|
||||
description="Skipped",
|
||||
state="success",
|
||||
target_url=GITHUB_RUN_URL
|
||||
)
|
||||
|
||||
if description_error:
|
||||
|
@ -7,14 +7,18 @@ import sys
|
||||
|
||||
from github import Github
|
||||
|
||||
from commit_status_helper import get_commit
|
||||
from env_helper import RUNNER_TEMP, GITHUB_WORKSPACE, GITHUB_REPOSITORY, GITHUB_SERVER_URL
|
||||
from env_helper import (
|
||||
RUNNER_TEMP,
|
||||
GITHUB_WORKSPACE,
|
||||
GITHUB_REPOSITORY,
|
||||
GITHUB_SERVER_URL
|
||||
)
|
||||
from s3_helper import S3Helper
|
||||
from pr_info import PRInfo, SKIP_SIMPLE_CHECK_LABEL
|
||||
from get_robot_token import get_best_robot_token
|
||||
from upload_result_helper import upload_results
|
||||
from docker_pull_helper import get_image_with_version
|
||||
from commit_status_helper import post_commit_status
|
||||
from commit_status_helper import post_commit_status, get_commit
|
||||
from clickhouse_helper import (
|
||||
ClickHouseHelper,
|
||||
mark_flaky_tests,
|
||||
@ -128,6 +132,9 @@ if __name__ == "__main__":
|
||||
)
|
||||
commit = get_commit(gh, pr_info.sha)
|
||||
commit.create_status(
|
||||
context="Simple Check", description=f"{NAME} failed", state="failed", target_url=url
|
||||
context="Simple Check",
|
||||
description=f"{NAME} failed",
|
||||
state="failed",
|
||||
target_url=url
|
||||
)
|
||||
sys.exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user