summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2020-10-26 21:09:25 +0100
committernico <nico@magicbroccoli.de>2020-10-26 21:09:25 +0100
commitdd7a17894c223577d58f5471c01ccdf53115b1a8 (patch)
tree776f9bf7e996260040636951d4626c50205fb4d4 /config.py
parentd9f876901cc4219c618a882449fc5a307edbdabd (diff)
code quality thingemagic stuff
+ add pre-commit framework + add black config file * black reformat
Diffstat (limited to 'config.py')
-rw-r--r--config.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/config.py b/config.py
index 9287aca..323d557 100644
--- a/config.py
+++ b/config.py
@@ -51,9 +51,7 @@ class Config:
print(err, file=sys.stderr)
sys.exit(err.errno)
- def get(
- self, key: str = None, default: (str, int) = None
- ) -> (dict, str, int, None):
+ def get(self, key: str = None, default: (str, int) = None) -> (dict, str, int, None):
"""method to retrieve the whole config data, a single value or the optional default value"""
# if a special key is request, return only that value
if key is not None: