From f5d6d1e7526fa77031b46df4f0c35ecaac5feb3a Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Wed, 29 Jun 2022 23:45:59 +0400 Subject: [PATCH] Tiny style fix to separate functions by 2 newlines --- src/utils/helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/helpers.py b/src/utils/helpers.py index ab4cec7c..3c19b935 100644 --- a/src/utils/helpers.py +++ b/src/utils/helpers.py @@ -6,9 +6,11 @@ from os.path import join def is_none_or_empty(item): return item == None or (hasattr(item, '__iter__') and len(item) == 0) + def to_snake_case_from_dash(item: str): return item.replace('_', '-') + def get_absolute_path(filepath): return str(pathlib.Path(filepath).expanduser().absolute())