diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-01-17 16:10:39 -0600 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-01-17 16:10:39 -0600 |
| commit | 993f92f03626adf583d8cedb01f52b18afe28c29 (patch) | |
| tree | 2ddef347ea4f13e5642da5f64ccb648cc7b64913 /config_file/config_file.py | |
| parent | Bump version: 0.2.0 → 0.3.0 (diff) | |
| download | config-file-993f92f03626adf583d8cedb01f52b18afe28c29.zip | |
Run pre-commit on all files
Diffstat (limited to 'config_file/config_file.py')
| -rw-r--r-- | config_file/config_file.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/config_file/config_file.py b/config_file/config_file.py index a95aa2d..a57e77f 100644 --- a/config_file/config_file.py +++ b/config_file/config_file.py @@ -1,11 +1,10 @@ from pathlib import Path -from config_file.parsers.ini_parser import IniParser from config_file.parsers.base_parser import BaseParser +from config_file.parsers.ini_parser import IniParser class ConfigFile: - def __init__(self, file_path: str, parser=None): self.path = self.__create_config_path(file_path) @@ -66,6 +65,3 @@ class ConfigFile: it would only be checking if the section """ return self.parser.has(section_key) - - - |