aboutsummaryrefslogtreecommitdiffstats
path: root/config_file
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-07-11 14:57:24 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-07-11 14:57:24 -0500
commitfbf798d86b1c2a5d70f39f084ee4e2a376fe6914 (patch)
tree9fcfa8a78b1fa50c5cd10420ca4d5b7eec24b8ac /config_file
parentFix imports in tests/ (diff)
downloadconfig-file-fbf798d86b1c2a5d70f39f084ee4e2a376fe6914.zip
Add dummy toml and yaml parsers
Diffstat (limited to 'config_file')
-rw-r--r--config_file/parsers/toml_parser.py2
-rw-r--r--config_file/parsers/yaml_parser.py6
2 files changed, 5 insertions, 3 deletions
diff --git a/config_file/parsers/toml_parser.py b/config_file/parsers/toml_parser.py
index 2b3a48f..64ab216 100644
--- a/config_file/parsers/toml_parser.py
+++ b/config_file/parsers/toml_parser.py
@@ -1,3 +1,5 @@
+from config_file.parsers import BaseParser
+
import toml
class TomlParser(BaseParser):
diff --git a/config_file/parsers/yaml_parser.py b/config_file/parsers/yaml_parser.py
index e7e88b5..48722b5 100644
--- a/config_file/parsers/yaml_parser.py
+++ b/config_file/parsers/yaml_parser.py
@@ -1,4 +1,4 @@
+from config_file.parsers import BaseParser
-
-class YamlParser:
- pass \ No newline at end of file
+class YamlParser(BaseParser):
+ pass