Skip to content

Commit d4325a5

Browse files
committed
cleanup
1 parent e75129d commit d4325a5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/models-library/tests/test_batch_operations.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ def test_create_batch_ids_validator(
6565
original_first_positions = {
6666
item: input_ids.index(item) for item in set(input_ids)
6767
}
68-
result_positions = {item: result.index(item) for item in result}
6968
# Items should appear in the same relative order as their first occurrence
7069
sorted_by_original = sorted(
7170
result, key=lambda x: original_first_positions[x]
@@ -74,11 +73,13 @@ def test_create_batch_ids_validator(
7473

7574

7675
def test_composing_schemas_for_batch_operations(faker: Faker):
77-
from models_library.api_schemas_webserver._base import (
76+
from models_library.api_schemas_webserver._base import ( # noqa: PLC0415
7877
OutputSchema as WebServerOutputSchema,
7978
)
80-
from models_library.api_schemas_webserver.projects import ProjectGet
81-
from models_library.projects import ProjectID
79+
from models_library.api_schemas_webserver.projects import ( # noqa: PLC0415
80+
ProjectGet,
81+
)
82+
from models_library.projects import ProjectID # noqa: PLC0415
8283

8384
# inner schema model
8485
class WebServerProjectBatchGetSchema(

0 commit comments

Comments
 (0)