diff options
Diffstat (limited to 'mako/testing/config.py')
-rw-r--r-- | mako/testing/config.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mako/testing/config.py b/mako/testing/config.py new file mode 100644 index 0000000..b77d0c0 --- /dev/null +++ b/mako/testing/config.py @@ -0,0 +1,17 @@ +from dataclasses import dataclass +from pathlib import Path + +from ._config import ReadsCfg +from .helpers import make_path + + +@dataclass +class Config(ReadsCfg): + module_base: Path + template_base: Path + + section_header = "mako_testing" + converters = {Path: make_path} + + +config = Config.from_cfg_file("./setup.cfg") |