Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format Python code with psf/black push #345

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion tests/fixtures/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,11 @@
unet_3d_distance_run,
hot_distance_run,
)
from .tasks import dummy_task, distance_task, onehot_task, six_onehot_task, hot_distance_task
from .tasks import (
dummy_task,
distance_task,
onehot_task,
six_onehot_task,
hot_distance_task,
)
from .trainers import dummy_trainer, gunpowder_trainer
2 changes: 1 addition & 1 deletion tests/fixtures/runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def distance_run(
num_iterations=10,
)


@pytest.fixture()
def hot_distance_run(
six_class_datasplit,
Expand All @@ -38,7 +39,6 @@ def hot_distance_run(
)



@pytest.fixture()
def dummy_run(
dummy_datasplit,
Expand Down
2 changes: 2 additions & 0 deletions tests/fixtures/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def distance_task():
tol_distance=10,
)


@pytest.fixture()
def hot_distance_task():
yield HotDistanceTaskConfig(
Expand All @@ -44,6 +45,7 @@ def hot_distance_task():
tol_distance=10,
)


@pytest.fixture()
def onehot_task():
yield OneHotTaskConfig(
Expand Down