Skip to content

Commit 39b855c

Browse files
committed
Style fixes.
1 parent da94bf9 commit 39b855c

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

tests/integration/scripts/test_set.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
Note: see also functional tests
2020
"""
2121

22-
import logging
2322
import pytest
2423
from secrets import token_hex
24+
from typing import Callable
2525

2626
from cylc.flow.commands import (
2727
run_cmd,
@@ -53,8 +53,6 @@ def outputs_section(*names: str) -> dict:
5353
}
5454
}
5555

56-
from typing import Callable
57-
5856

5957
async def test_set_parentless_spawning(
6058
flow,
@@ -224,7 +222,7 @@ async def test_bad_prereq(
224222
assert schd.pool.get_task_ids() == {'1/a', '1/c'}
225223
await complete(schd, '1/c', timeout=5)
226224

227-
225+
228226
async def test_no_outputs_given(flow, scheduler, start):
229227
"""Test `cylc set` without providing any outputs.
230228
@@ -296,4 +294,4 @@ async def test_completion_expr(flow, scheduler, start):
296294
TASK_OUTPUT_SUBMITTED,
297295
TASK_OUTPUT_STARTED,
298296
TASK_OUTPUT_SUCCEEDED,
299-
}
297+
}

tests/unit/test_taskdef.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ def test_generate_graph_parents_2(tmp_flow_config): # noqa: F811
105105
]
106106

107107

108-
109108
@pytest.mark.parametrize(
110109
"task, point, expected",
111110
[
@@ -135,7 +134,8 @@ def test_generate_graph_parents_2(tmp_flow_config): # noqa: F811
135134
),
136135
],
137136
)
138-
def test_get_prereqs(tmp_flow_config, task, point, expected):
137+
def test_get_prereqs(tmp_flow_config, task, point, expected): # noqa: F811
138+
139139
"""Test that get_prereqs() returns the correct prerequisites
140140
for a task."""
141141
id_ = 'gargle-blaster'

0 commit comments

Comments
 (0)