Skip to content

Commit

Permalink
Remove f from unneccessay f string
Browse files Browse the repository at this point in the history
  • Loading branch information
pagrubel committed Feb 18, 2025
1 parent 9a9bf63 commit 8cf6c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beeflow/common/parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,13 +352,13 @@ def parse_requirements(self, requirements, as_hints=False):
if 'shell' in items:
self._read_requirement_file('pre_script', items)
else:
msg = f'pre script enabled but shell option undefined in cwl file.' # pylint: disable=W1309
msg = 'pre script enabled but shell option undefined in cwl file.'
raise CwlParseError(msg) from None
if 'post_script' in items and items['enabled']:
if 'shell' in items:
self._read_requirement_file('post_script', items)
else:
msg = f'post script enabled but shell option undefined in cwl file.' # pylint: disable=W1309
msg = 'post script enabled but shell option undefined in cwl file.'
raise CwlParseError(msg) from None
if 'beeflow:bindMounts' in items:
self._read_requirement_file('beeflow:bindMounts', items)
Expand Down

0 comments on commit 8cf6c4e

Please sign in to comment.