diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-08-07 08:49:14 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-08-07 08:49:14 -0500 |
| commit | 32826f7d510ff4c469b2fa67d232325224a368eb (patch) | |
| tree | f82ccdebf18ab15c009302de3b8d5535cb147c69 /config_file/utils.py | |
| parent | Change UnsupportedFileTypeError to ValueError (diff) | |
| download | config-file-32826f7d510ff4c469b2fa67d232325224a368eb.zip | |
Add type hint to split_on_dot
Diffstat (limited to 'config_file/utils.py')
| -rw-r--r-- | config_file/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 (.). |