From 690fd5dcf60ba15c479b62d3b5e49e48ad55092f Mon Sep 17 00:00:00 2001 From: Tim Pillinger <26465611+wxtim@users.noreply.github.com> Date: Fri, 2 Feb 2024 08:35:30 +0000 Subject: [PATCH] spelling fixes --- cylc/flow/xtriggers/echo.py | 2 +- cylc/flow/xtriggers/xrandom.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cylc/flow/xtriggers/echo.py b/cylc/flow/xtriggers/echo.py index ec7aa63f3c4..0297545e935 100644 --- a/cylc/flow/xtriggers/echo.py +++ b/cylc/flow/xtriggers/echo.py @@ -27,7 +27,7 @@ def echo(*args, **kwargs) -> Tuple: This may be a useful aid to understanding how xtriggers work. Args: - succeed: Set the succeess of failure of this xtrigger. + succeed: Set the success of failure of this xtrigger. *args: Print to stdout. **kwargs: Print to stdout, and return as output. diff --git a/cylc/flow/xtriggers/xrandom.py b/cylc/flow/xtriggers/xrandom.py index f48789ce152..56bbbe7668c 100644 --- a/cylc/flow/xtriggers/xrandom.py +++ b/cylc/flow/xtriggers/xrandom.py @@ -68,7 +68,7 @@ def xrandom( Finally, if the percent is not zero, and the random percent success is met, then it returns that the trigger condition was satisfied, and a - dictionary containing random color and size as result. + dictionary containing random colour and size as result. >>> import sys >>> mocked_random = lambda: 0.9 @@ -87,7 +87,7 @@ def xrandom( A dictionary containing the following keys: ``COLOR`` - A random color (e.g. red, orange, ...). + A random colour (e.g. red, orange, ...). ``SIZE`` A random size (e.g. small, medium, ...).