Debian Codegraph @

third_party/python/Mako/mako/testing/config.py

raw
1 from dataclasses import dataclass
2 from pathlib import Path
3
4 from ._config import ReadsCfg
5 from .helpers import make_path
6
7
8 @dataclass
9 class Config(ReadsCfg):
10 module_base: Path
11 template_base: Path
12
13 section_header = "mako_testing"
14 converters = {Path: make_path}
15
16
17 config = Config.from_cfg_file("./setup.cfg")