(config_file_path: Path, /)
| 356 | |
| 357 | |
| 358 | def _load_theme_toml(config_file_path: Path, /) -> _ThemeToml: |
| 359 | c = tomllib.loads(config_file_path.read_text(encoding='utf-8')) |
| 360 | return {s: c[s] for s in ('theme', 'options') if s in c} # type: ignore[return-value] |
| 361 | |
| 362 | |
| 363 | def _validate_theme_toml(cfg: _ThemeToml, name: str) -> str: |
searching dependent graphs…