From 11fdffb71962d1ac9e17f51e57555dedb8bc8ebc Mon Sep 17 00:00:00 2001 From: einarf Date: Wed, 8 Mar 2023 23:27:09 +0100 Subject: [PATCH] typos and types --- src/restic_compose_backup/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/restic_compose_backup/utils.py b/src/restic_compose_backup/utils.py index 0f96fbe..64bcad6 100644 --- a/src/restic_compose_backup/utils.py +++ b/src/restic_compose_backup/utils.py @@ -64,9 +64,9 @@ def remove_containers(containers: List['Container']): logger.exception(ex) -def is_true(value): +def is_true(value) -> True: """ - Evaluates the truthfullness of a bool value in container labels + Evaluates the truthfulness of a bool value in container labels """ return value in TRUE_VALUES @@ -85,7 +85,7 @@ def strip_root(path): @contextmanager def environment(name, value): - """Tempset env var""" + """Temp-set environment variables""" old_val = os.environ.get(name) os.environ[name] = value try: