tmt.config package
Subpackages
- tmt.config.models package
- Submodules
- tmt.config.models.hardware module
- tmt.config.models.link module
- tmt.config.models.themes module
LinterLinterOutcomeStyleThemeTheme.from_file()Theme.from_spec()Theme.linterTheme.model_configTheme.restructuredtext_admonition_noteTheme.restructuredtext_admonition_warningTheme.restructuredtext_emphasisTheme.restructuredtext_literalTheme.restructuredtext_literalblockTheme.restructuredtext_literalblock_shellTheme.restructuredtext_literalblock_yamlTheme.restructuredtext_strongTheme.restructuredtext_text
ThemeConfig
- Module contents
Module contents
- class tmt.config.Config(logger: Logger)
Bases:
objectUser configuration
Initialize config directory path
- property fmf_tree: Tree | None
Return the configuration tree
- property hardware: HardwareConfig | None
Return the hardware configuration, if present.
- property last_run: Path | None
Get the last run workdir path
- property link: LinkConfig | None
Return the link configuration, if present.
- tmt.config.effective_config_dir() Path
Find out what the actual config directory is.
If
TMT_CONFIG_DIRvariable is set, it is used. Otherwise,DEFAULT_CONFIG_DIRis picked.