fix: typo
This commit is contained in:
		
							parent
							
								
									e7f8f5bb94
								
							
						
					
					
						commit
						279182f659
					
				|  | @ -1,9 +1,5 @@ | ||||||
| import json |  | ||||||
| import os | import os | ||||||
| from pathlib import Path | from typing import List | ||||||
| from typing import Any, List |  | ||||||
| 
 |  | ||||||
| import rtoml |  | ||||||
| 
 | 
 | ||||||
| from joj3_config_generator.models import joj1, repo, result, task | from joj3_config_generator.models import joj1, repo, result, task | ||||||
| from joj3_config_generator.processers.joj1 import get_joj1_run_stage | 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 |     # Construct healthcheck stage | ||||||
|     if ( |     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 |         or os.environ.get("PYTEST_CURRENT_TEST") is None | ||||||
|     ): |     ): | ||||||
|         healthcheck_stage = get_healthcheck_config(repo_conf) |         healthcheck_stage = get_healthcheck_config(repo_conf) | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| from pathlib import Path | from pathlib import Path | ||||||
| from typing import List, Optional | from typing import List | ||||||
| 
 | 
 | ||||||
| from pydantic import BaseModel, Field | from pydantic import BaseModel, Field | ||||||
| 
 | 
 | ||||||
|  | @ -20,7 +20,7 @@ class Config(BaseModel): | ||||||
|     files: Files = Files() |     files: Files = Files() | ||||||
|     sandbox_token: str = Field("") |     sandbox_token: str = Field("") | ||||||
|     max_total_score: int = Field(100) |     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() |     groups: Groups = Groups() | ||||||
|     root: Path = Path(".") |     root: Path = Path(".") | ||||||
|     path: Path = Path("repo.toml") |     path: Path = Path("repo.toml") | ||||||
|  |  | ||||||
|  | @ -1 +1 @@ | ||||||
| force_skip_heatlh_check_on_test = true | force_skip_health_check_on_test = true | ||||||
|  |  | ||||||
|  | @ -1 +1 @@ | ||||||
| force_skip_heatlh_check_on_test = true | force_skip_health_check_on_test = true | ||||||
|  |  | ||||||
|  | @ -1 +1 @@ | ||||||
| force_skip_heatlh_check_on_test = true | force_skip_health_check_on_test = true | ||||||
|  |  | ||||||
|  | @ -1 +1 @@ | ||||||
| force_skip_heatlh_check_on_test = true | force_skip_health_check_on_test = true | ||||||
|  |  | ||||||
|  | @ -1 +1 @@ | ||||||
| force_skip_heatlh_check_on_test = true | force_skip_health_check_on_test = true | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user