generate_changelog.configuration

configuration#

Configuration management for generate_changelog.

Attributes

StrOrCallable

The type should be either a string or a callable that returns a string.

IntOrCallable

The type should be either an int or a callable that returns an int.

RELEASE_TYPE_ORDER

The sort order of the release types.

DEFAULT_CONFIG_FILE_NAME

Base default configuration file name

DEFAULT_CONFIG_FILE_NAMES

Valid permutations of the default configuration file name.

Functions

get_config

Return the current configuration.

get_default_config

Create a new Configuration object with default values.

set_config

Set a configuration key to a value.

write_default_config

Write a default configuration file to the specified path.

Classes

Configuration

Configuration options for generate-changelog.