Validation

vcspull.validator checks that a parsed configuration has the shape vcspull expects — workspace roots mapping to repository entries — before the rest of the tool works with it.

Validation of vcspull configuration file.

vcspull.validator.is_valid_config(config)
function[source]
function[source]
vcspull.validator.is_valid_config(config)

Return true and upcast if vcspull configuration file is valid.

Parameters:

config (dict[str, Any])

Return type:

TypeGuard[RawConfigDict]