mirror of
https://github.com/RGBCube/CSAssignments
synced 2025-07-27 05:57:44 +00:00
Refactor most of the interactive runner
This commit is contained in:
parent
d782a4d879
commit
58f5c52db5
9 changed files with 138 additions and 122 deletions
8
interactive_runner/constants.py
Normal file
8
interactive_runner/constants.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
__all__ = ("ROOT", "OS")
|
||||
|
||||
from os import name as os_name
|
||||
from pathlib import Path
|
||||
from typing import Literal
|
||||
|
||||
ROOT = Path(__file__).parent.parent
|
||||
OS: Literal["windows"] | Literal["unix"] = "windows" if os_name == "nt" else "unix" # type: ignore
|
Loading…
Add table
Add a link
Reference in a new issue