environment_txt#

Health check: Environment listed in environments.txt.

Functions#

check_envs_txt_file(→ bool)

Checks whether the environment is listed in the environments.txt file.

env_txt_check(→ None)

Health check action: Check if environment is in environments.txt.

fix_env_txt(→ int)

Register environment in environments.txt.

conda_health_checks(...)

Register the environment.txt health check.

Attributes#

logger#
check_envs_txt_file(prefix: str | os.PathLike | pathlib.Path) bool#

Checks whether the environment is listed in the environments.txt file.

env_txt_check(prefix: str, verbose: bool) None#

Health check action: Check if environment is in environments.txt.

fix_env_txt(prefix: str, args: argparse.Namespace, confirm: conda.plugins.types.ConfirmCallback) int#

Register environment in environments.txt.

conda_health_checks() collections.abc.Iterable[conda.plugins.types.CondaHealthCheck]#

Register the environment.txt health check.