1
Fork 0
mirror of https://github.com/RGBCube/CSAssignments synced 2025-07-24 20:47:43 +00:00
This commit is contained in:
RGBCube 2022-11-05 20:20:01 +03:00
parent 9ed2410cc0
commit d782a4d879
4 changed files with 43 additions and 34 deletions

View file

@ -2,14 +2,15 @@ from __future__ import annotations
__all__ = ("Language",)
from .assignment import Assignment
from .consts import OS_KEY, CHECK_COMMAND_EXISTS
from typing import TYPE_CHECKING, TypedDict
from tomllib import loads as decode_toml
from chalky import hex
from functools import cached_property
from os import system as cmd
from chalky.shortcuts.sty import bold
from tomllib import loads as decode_toml
from typing import TYPE_CHECKING, TypedDict
from chalky import hex
from .assignment import Assignment
from .consts import CHECK_COMMAND_EXISTS, OS_KEY
if TYPE_CHECKING:
from pathlib import Path
@ -53,6 +54,7 @@ LanguageConfig = TypedDict(
}
)
class Language:
__directory: Path
__config: LanguageConfig