Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hughes036 committed Oct 16, 2023
1 parent 7009d50 commit 660e296
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
from allencell_ml_segmenter.training.training_model import (
TrainingModel,
)
from allencell_ml_segmenter._tests.fakes.fake_experiments_model import (
FakeExperimentsModel,
)


@pytest.fixture
Expand Down
8 changes: 5 additions & 3 deletions src/allencell_ml_segmenter/_tests/training/test_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import pytest
from pytestqt.qtbot import QtBot


@pytest.fixture
def main_model():
return MainModel()
Expand All @@ -34,7 +35,9 @@ def viewer():


@pytest.fixture
def training_view(qtbot: QtBot, main_model: MainModel, training_model: TrainingModel) -> TrainingView:
def training_view(
qtbot: QtBot, main_model: MainModel, training_model: TrainingModel
) -> TrainingView:
"""
Returns a PredictionView instance for testing.
"""
Expand All @@ -48,8 +51,7 @@ def training_view(qtbot: QtBot, main_model: MainModel, training_model: TrainingM


def test_set_patch_size(
training_view: TrainingView,
training_model: TrainingModel
training_view: TrainingView, training_model: TrainingModel
) -> None:
"""
Tests that using the associated combo box properly sets the patch size field.
Expand Down
1 change: 0 additions & 1 deletion src/allencell_ml_segmenter/training/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from allencell_ml_segmenter.core.view import View
from allencell_ml_segmenter.main.experiments_model import ExperimentsModel
from allencell_ml_segmenter.main.main_model import MainModel
from allencell_ml_segmenter.services.training_service import TrainingService
from allencell_ml_segmenter.training.image_selection_widget import (
ImageSelectionWidget,
)
Expand Down

0 comments on commit 660e296

Please sign in to comment.