aboutsummaryrefslogtreecommitdiff
path: root/src_py/hatter/common.py
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-03-28 00:03:31 +0200
committerbozo.kopic <bozo@kopic.xyz>2022-03-28 00:03:31 +0200
commitb8a61f60a0aa115141987f461658666ccbfd2034 (patch)
tree071d7c265be7e1ef72d1b9057c8bf443ea545e2e /src_py/hatter/common.py
parent1d56c732965cad4c8eb06ed5638f7ecdea88f290 (diff)
rename hatter to boxhatter
Diffstat (limited to 'src_py/hatter/common.py')
-rw-r--r--src_py/hatter/common.py32
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