Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4f49f0

Browse files
author
rhliang
committed
Cleaned up some mypy/ruff complaints.
1 parent 8b025c7 commit f4f49f0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/hla_algorithm_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from io import StringIO
55
from pathlib import Path
66
from typing import Optional, cast
7-
from unittest.mock import MagicMock, _Call, patch
7+
from unittest.mock import MagicMock, _Call
88

99
import numpy as np
1010
import pytest

tests/interpret_from_json_lib_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,7 @@ def test_hla_match_adaptor_from_match_details(
377377
raw_mismatches: list[HLAMismatch],
378378
raw_expected_result: list[str],
379379
):
380-
match_details: HLAMatchDetails = HLAMatchDetails(
381-
mismatch_count=len(raw_mismatches), mismatches=raw_mismatches
382-
)
380+
match_details: HLAMatchDetails = HLAMatchDetails(mismatches=raw_mismatches)
383381
expected_result: HLAMatchAdaptor = HLAMatchAdaptor(
384382
mismatch_count=len(raw_expected_result), mismatches=raw_expected_result
385383
)

0 commit comments

Comments
 (0)