SPEC Hooks package¶
- class rebasehelper.plugins.spec_hooks.BaseSpecHook[source]¶
Base class for a spec hook
- CATEGORIES: List[PackageCategory | None] = []¶
- class rebasehelper.plugins.spec_hooks.SpecHookCollection(entrypoint: str, manager: PluginManager)[source]¶
Class representing the process of running various spec file hooks.
- run(spec_file, rebase_spec_file, **kwargs)[source]¶
Runs all non-blacklisted spec hooks.
- Parameters:
spec_file (rebasehelper.specfile.SpecFile) – Original SpecFile object.
rebase_spec_file (rebasehelper.specfile.SpecFile) – Rebased SpecFile object.
**kwargs – Keyword arguments from Application instance.