diff options
Diffstat (limited to 'src_py/hatter/common.py')
| -rw-r--r-- | src_py/hatter/common.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src_py/hatter/common.py b/src_py/hatter/common.py deleted file mode 100644 index ae314a5..0000000 --- a/src_py/hatter/common.py +++ /dev/null @@ -1,32 +0,0 @@ -from pathlib import Path -import enum -import typing - -from hat import json - - -package_path: Path = Path(__file__).parent - -json_schema_repo: json.SchemaRepository = json.SchemaRepository( - json.json_schema_repo, - json.SchemaRepository.from_json(package_path / 'json_schema_repo.json')) - - -class Order(enum.Enum): - ASC = 'ASC' - DESC = 'DESC' - - -class Status(enum.Enum): - PENDING = 0 - RUNNING = 1 - SUCCESS = 2 - FAILURE = 3 - - -class Commit(typing.NamedTuple): - repo: str - hash: str - change: int - status: Status - output: str |
