Skip to content

Commit

Permalink
remove possibly unwanted flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Oct 30, 2023
1 parent 85449a4 commit 9400835
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cylc/flow/cfgspec/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def get_script_common_text(this: str, example: Optional[str] = None):
# differentiate between not set vs set to empty
default = None
elif item.endswith("handlers"):
desc = desc + '\n\n' + dedent(f'''
desc = desc + '\n\n' + dedent(rf'''
Examples:
.. code-block:: cylc
Expand All @@ -413,9 +413,9 @@ def get_script_common_text(this: str, example: Optional[str] = None):
{item} = echo %(workflow)s
# configure multiple event handlers
{item} = \\
'echo %(workflow)s, %(event)s', \\
'my_exe %(event)s %(message)s' \\
{item} = \
'echo %(workflow)s, %(event)s', \
'my_exe %(event)s %(message)s' \
'curl -X PUT -d event=%(event)s host:port'
''')
elif item.startswith("abort on"):
Expand Down

0 comments on commit 9400835

Please sign in to comment.