From a1e49b6f290daeb2012575ab3a85ca72cfe42747 Mon Sep 17 00:00:00 2001 From: "Filipe G. Vieira" Date: Fri, 9 Sep 2022 17:34:17 +0200 Subject: [PATCH] fix: fixed typos (#1847) * Fixed typos * Another typo Co-authored-by: fgvieira --- snakemake/common/__init__.py | 4 ++-- snakemake/io.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/snakemake/common/__init__.py b/snakemake/common/__init__.py index b09feb91d..878966c7a 100644 --- a/snakemake/common/__init__.py +++ b/snakemake/common/__init__.py @@ -23,7 +23,7 @@ MIN_PY_VERSION = (3, 7) -DYNAMIC_FILL = "__othernakemake_dynamic__" +DYNAMIC_FILL = "__snakemake_dynamic__" SNAKEMAKE_SEARCHPATH = str(Path(__file__).parent.parent.parent) UUID_NAMESPACE = uuid.uuid5(uuid.NAMESPACE_URL, "https://snakemake.readthedocs.io") NOTHING_TO_BE_DONE_MSG = ( @@ -172,7 +172,7 @@ class Mode: class lazy_property(property): - __otherlots__ = ["method", "cached", "__doc__"] + __slots__ = ["method", "cached", "__doc__"] @staticmethod def clean(instance, method): diff --git a/snakemake/io.py b/snakemake/io.py index ffd144e78..44fecc5aa 100755 --- a/snakemake/io.py +++ b/snakemake/io.py @@ -1065,7 +1065,7 @@ def pipe(value): if is_flagged(value, "remote"): raise SyntaxError("Pipes may not be remote files.") if ON_WINDOWS: - logger.warning("Pipes is not yet supported on Windows.") + logger.warning("Pipes are not yet supported on Windows.") return flag(value, "pipe", not ON_WINDOWS)