1
Fork 0
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:
RGBCube 2022-11-05 21:16:42 +03:00
parent d782a4d879
commit 58f5c52db5
9 changed files with 138 additions and 122 deletions

View 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