aboutsummaryrefslogtreecommitdiff
path: root/scripts/reqs2tex.py
diff options
context:
space:
mode:
authorMax-001 <80035972+Max-001@users.noreply.github.com>2024-09-20 12:07:57 +0200
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-09-20 12:07:57 +0200
commit3946b1097534543cfd31bb4cb82e791d220ee7ad (patch)
treeae9fc408e482bd0ae1488ce66cb333745f3276ca /scripts/reqs2tex.py
parent7b6efb26f0ae722b5e5d65a9014c841a281d11f1 (diff)
parent6eaf2d94cda1baf07ded4a0ac61892139065d4c6 (diff)
Merge remote-tracking branch 'origin/master' into max/time
Diffstat (limited to 'scripts/reqs2tex.py')
-rwxr-xr-xscripts/reqs2tex.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/scripts/reqs2tex.py b/scripts/reqs2tex.py
index 1863b0d..31303ff 100755
--- a/scripts/reqs2tex.py
+++ b/scripts/reqs2tex.py
@@ -15,15 +15,17 @@ class KEY(StrEnum):
DESCRIPTION = 'description'
PRIORITY = 'priority'
-class REQ_TYPE(StrEnum):
- SYSTEM = 'system'
- USER = 'user'
-
-class REQ_PRIORITY(StrEnum):
- MUST = 'must'
- SHOULD = 'should'
- COULD = 'could'
- WONT = 'will not'
+REQ_TYPE = [
+ 'system',
+ 'user',
+]
+
+REQ_PRIORITY = [
+ 'must',
+ 'should',
+ 'could',
+ 'will not',
+]
id_counter = 0
def make_id(item):