diff options
author | nico <nico@magicbroccoli.de> | 2020-10-26 21:09:25 +0100 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2020-10-26 21:09:25 +0100 |
commit | dd7a17894c223577d58f5471c01ccdf53115b1a8 (patch) | |
tree | 776f9bf7e996260040636951d4626c50205fb4d4 /config.py | |
parent | d9f876901cc4219c618a882449fc5a307edbdabd (diff) |
code quality thingemagic stuff
+ add pre-commit framework
+ add black config file
* black reformat
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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: |