From dd7a17894c223577d58f5471c01ccdf53115b1a8 Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 26 Oct 2020 21:09:25 +0100 Subject: code quality thingemagic stuff + add pre-commit framework + add black config file * black reformat --- config.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'config.py') 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: -- cgit v1.2.3-18-g5258