semantic_release.settings module

Helpers to read settings from setup.cfg or pyproject.toml

semantic_release.settings.current_changelog_components() List[Callable][source]

Get the currently-configured changelog components

Raises:

ImproperConfigurationError – if ImportError or AttributeError is raised

Returns:

List of component functions

semantic_release.settings.current_commit_parser() Callable[source]

Get the currently-configured commit parser

Raises:

ImproperConfigurationError – if ImportError or AttributeError is raised

Returns:

Commit parser

semantic_release.settings.overload_configuration(func)[source]

This decorator gets the content of the “define” array and edits “config” according to the pairs of key/value.