Skip to content

Commit

Permalink
Fix flake8 (#6534)
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie authored Jan 3, 2025
1 parent f60ac3f commit 71f1e9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test_fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# note: exclude python 3.10+ from mypy checks as these produce false
# positives in installed libraries for python 3.7
- name: Configure Python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.x

- name: Install
run: |
Expand Down
2 changes: 1 addition & 1 deletion cylc/flow/scripts/dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ async def dump(workflow_id, options, write=print):
result += " (" + ",".join(attrs) + ")"
if options.show_flows:
result += (
f" flows={item['flowNums'].replace(' ','')}"
f" flows={item['flowNums'].replace(' ', '')}"
)
write(result)

Expand Down
2 changes: 1 addition & 1 deletion cylc/flow/scripts/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ async def prereqs_and_outputs_query(
if t_proxy["flowNums"] != "[1]":
ansiprint(
f"<bold>flows:</bold> "
f"{t_proxy['flowNums'].replace(' ','')}"
f"{t_proxy['flowNums'].replace(' ', '')}"
)

# prerequisites
Expand Down

0 comments on commit 71f1e9e

Please sign in to comment.