colrev.ops.validate.Validate

class Validate(*, review_manager)[source]

Bases: Operation

Validate changes

Methods

check_precondition

Check the operation precondition

conclude

Conclude the operation (stop Docker containers)

decorate

Decorator for operations

main

rtype:

Any

notify

Notify the review_manager about the next operation

remove_md_origins

Remove origin records for md_ files

validate_merge_prescreen_screen

Validate presceen/screen between merged branches

Attributes

type

check_precondition()

Check the operation precondition

Return type:

None

conclude()

Conclude the operation (stop Docker containers)

Return type:

None

classmethod decorate()

Decorator for operations

Return type:

Callable

notify(*, state_transition=True)

Notify the review_manager about the next operation

Return type:

None

remove_md_origins(origins_to_remove)[source]

Remove origin records for md_ files

Return type:

None

validate_merge_prescreen_screen(*, commit_sha='CURRENT', current_branch_records, other_branch_records, records_reconciled)[source]

Validate presceen/screen between merged branches

Return type:

dict