memote.suite.cli.callbacks

Callbacks for command line parameters.

Module Contents

Functions

validate_collect(context, param, value) Handle the report collection flag.
validate_experimental(context, param, value) Load and validate an experimental data configuration.
validate_pytest_args(context, param, value) Handle additional arguments to pytest.
validate_repository(context, param, value) Load repository slug from different locations.
validate_username(context, param, value) Load username from different locations.
probe_git() Return a git repository instance if it exists.
abort_if_false(ctx, param, value) Require confirmation.
git_installed() Interrupt execution of memote if git has not been installed.
memote.suite.cli.callbacks.LOGGER[source]
memote.suite.cli.callbacks.validate_collect(context, param, value)[source]

Handle the report collection flag.

memote.suite.cli.callbacks.validate_experimental(context, param, value)[source]

Load and validate an experimental data configuration.

memote.suite.cli.callbacks.validate_pytest_args(context, param, value)[source]

Handle additional arguments to pytest.

memote.suite.cli.callbacks.validate_repository(context, param, value)[source]

Load repository slug from different locations.

memote.suite.cli.callbacks.validate_username(context, param, value)[source]

Load username from different locations.

memote.suite.cli.callbacks.probe_git()[source]

Return a git repository instance if it exists.

memote.suite.cli.callbacks.abort_if_false(ctx, param, value)[source]

Require confirmation.

memote.suite.cli.callbacks.git_installed()[source]

Interrupt execution of memote if git has not been installed.