fix: typo
All checks were successful
build / build (pull_request) Successful in 2m31s
build / build (push) Successful in 2m33s

This commit is contained in:
张泊明518370910136 2025-03-01 12:50:20 -05:00
parent e7f8f5bb94
commit 279182f659
GPG Key ID: D47306D7062CDA9D
7 changed files with 9 additions and 13 deletions

View File

@ -1,9 +1,5 @@
import json
import os
from pathlib import Path
from typing import Any, List
import rtoml
from typing import List
from joj3_config_generator.models import joj1, repo, result, task
from joj3_config_generator.processers.joj1 import get_joj1_run_stage
@ -44,7 +40,7 @@ def convert(repo_conf: repo.Config, task_conf: task.Config) -> result.Config:
# Construct healthcheck stage
if (
not repo_conf.force_skip_heatlh_check_on_test
not repo_conf.force_skip_health_check_on_test
or os.environ.get("PYTEST_CURRENT_TEST") is None
):
healthcheck_stage = get_healthcheck_config(repo_conf)

View File

@ -1,5 +1,5 @@
from pathlib import Path
from typing import List, Optional
from typing import List
from pydantic import BaseModel, Field
@ -20,7 +20,7 @@ class Config(BaseModel):
files: Files = Files()
sandbox_token: str = Field("")
max_total_score: int = Field(100)
force_skip_heatlh_check_on_test: bool = False
force_skip_health_check_on_test: bool = False
groups: Groups = Groups()
root: Path = Path(".")
path: Path = Path("repo.toml")

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true

View File

@ -1 +1 @@
force_skip_heatlh_check_on_test = true
force_skip_health_check_on_test = true