Validation - tmuxp.workspace.validation

Validation errors for tmuxp configuration files.

exception tmuxp.workspace.validation.SchemaValidationError[source]

Bases: WorkspaceError

Tmuxp configuration validation base error.

exception tmuxp.workspace.validation.SessionNameMissingValidationError(*args, **kwargs)[source]

Bases: SchemaValidationError

Tmuxp configuration error for session name missing.

exception tmuxp.workspace.validation.WindowListMissingValidationError(*args, **kwargs)[source]

Bases: SchemaValidationError

Tmuxp configuration error for window list missing.

exception tmuxp.workspace.validation.WindowNameMissingValidationError(*args, **kwargs)[source]

Bases: SchemaValidationError

Tmuxp configuration error for missing window_name.

exception tmuxp.workspace.validation.InvalidPluginsValidationError(plugins, *args, **kwargs)[source]

Bases: SchemaValidationError

Tmuxp configuration error for invalid plugins.

tmuxp.workspace.validation.validate_schema(workspace_dict)[source]

Return True if workspace schema is correct.

Return type:

bool

Parameters:

workspace_dict (dict) – tmuxp workspace data

Return type:

bool