aboutsummaryrefslogtreecommitdiffstats
path: root/TSGroupAssigner/exceptions.py
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2019-12-22 04:20:29 +0100
committernico <nico@magicbroccoli.de>2019-12-22 04:20:29 +0100
commit150002e1434bcc69694232436b9894358bed8826 (patch)
treeeec64ff2aab0c8e414375b7d078e78d2c09e8980 /TSGroupAssigner/exceptions.py
parent37dbae346af1507accecf62ccec3e45912ed70f5 (diff)
parent3a25e6234e62574096379782622743d57d9a53ec (diff)
code cleanup and pypi setup0.1
+ add MANIFEST.in file + add pytest / flake8 tests + add automated github action * update setup.py to build properly * code corrections
Diffstat (limited to 'TSGroupAssigner/exceptions.py')
-rw-r--r--TSGroupAssigner/exceptions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/TSGroupAssigner/exceptions.py b/TSGroupAssigner/exceptions.py
new file mode 100644
index 0000000..a0bb55b
--- /dev/null
+++ b/TSGroupAssigner/exceptions.py
@@ -0,0 +1,8 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+
+__all__ = ['DateException']
+
+
+class DateException(Exception):
+ """Exceptions thrown if configured date is out of range"""