project_config.config.exceptions module

Configuration exceptions.

exception project_config.config.exceptions.ConfigurationFilesNotFound[source]

Bases: ProjectConfigInvalidConfig

The expected configuration files have not been found.

exception project_config.config.exceptions.CustomConfigFileNotFound(fpath: str)[source]

Bases: ProjectConfigInvalidConfig

A custom configuration file has not been found.

exception project_config.config.exceptions.ProjectConfigAlreadyInitialized(config_path: str)[source]

Bases: ProjectConfigException

The project-config has already been initialized.

exception project_config.config.exceptions.ProjectConfigInvalidConfig(message: str)[source]

Bases: ProjectConfigException

Invalid configuration of project-config found.

exception project_config.config.exceptions.ProjectConfigInvalidConfigSchema(config_path: str, error_messages: list[str])[source]

Bases: ProjectConfigInvalidConfig

The configuration of project-config is invalid.

exception project_config.config.exceptions.PyprojectTomlFoundButHasNoConfig[source]

Bases: ProjectConfigInvalidConfig

A pyproject.toml file has been found but has no configuration.