From 32826f7d510ff4c469b2fa67d232325224a368eb Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 7 Aug 2020 08:49:14 -0500 Subject: Add type hint to split_on_dot --- config_file/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_file/utils.py b/config_file/utils.py index 3554c0e..cbbf7a7 100644 --- a/config_file/utils.py +++ b/config_file/utils.py @@ -2,7 +2,7 @@ from pathlib import Path from typing import List, Union -def split_on_dot(line: Union[str, Path], only_last_dot=False) -> List[str]: +def split_on_dot(line: Union[str, Path], only_last_dot: bool = False) -> List[str]: """ Split a string on the dot character (.). -- cgit v1.2.3