Skip to content

Commit b4bba0c

Browse files
committed
Fix lint
1 parent 2835cb2 commit b4bba0c

File tree

1 file changed

+11
-43
lines changed

1 file changed

+11
-43
lines changed

libs/labelbox/tests/data/annotation_import/conftest.py

Lines changed: 11 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,7 @@ def expected_export_v2_image():
20732073
"value": "text",
20742074
"text_answer": {
20752075
"content": "free form text...",
2076-
"classifications": []
2076+
"classifications": [],
20772077
},
20782078
},
20792079
],
@@ -2108,7 +2108,7 @@ def expected_export_v2_audio():
21082108
"value": "text",
21092109
"text_answer": {
21102110
"content": "free form text...",
2111-
"classifications": []
2111+
"classifications": [],
21122112
},
21132113
},
21142114
],
@@ -2128,7 +2128,7 @@ def expected_export_v2_html():
21282128
"value": "text",
21292129
"text_answer": {
21302130
"content": "free form text...",
2131-
"classifications": []
2131+
"classifications": [],
21322132
},
21332133
},
21342134
{
@@ -2191,7 +2191,7 @@ def expected_export_v2_text():
21912191
"value": "text",
21922192
"text_answer": {
21932193
"content": "free form text...",
2194-
"classifications": []
2194+
"classifications": [],
21952195
},
21962196
},
21972197
],
@@ -2304,7 +2304,7 @@ def expected_export_v2_document():
23042304
},
23052305
{
23062306
"name": "bbox",
2307-
"value": "bbox",
2307+
"value": "bbox",
23082308
"annotation_kind": "DocumentBoundingBox",
23092309
"classifications": [],
23102310
"page_number": 1,
@@ -2344,37 +2344,7 @@ def expected_export_v2_document():
23442344
"value": "text",
23452345
"text_answer": {
23462346
"content": "free form text...",
2347-
"classifications": []
2348-
},
2349-
},
2350-
],
2351-
"relationships": [],
2352-
}
2353-
return expected_annotations
2354-
2355-
2356-
@pytest.fixture()
2357-
def expected_export_v2_llm_prompt_creation():
2358-
expected_annotations = {
2359-
"objects": [],
2360-
"classifications": [
2361-
{
2362-
"name":
2363-
"checklist",
2364-
"value":
2365-
"checklist",
2366-
"checklist_answers": [{
2367-
"name": "option1",
2368-
"value": "option1",
2369-
"classifications": []
2370-
}],
2371-
},
2372-
{
2373-
"name": "text",
2374-
"value": "text",
2375-
"text_answer": {
2376-
"content": "free form text...",
2377-
"classifications": []
2347+
"classifications": [],
23782348
},
23792349
},
23802350
],
@@ -2393,14 +2363,14 @@ def expected_export_v2_llm_prompt_response_creation():
23932363
"value": "prompt-text",
23942364
"text_answer": {
23952365
"content": "free form text...",
2396-
"classifications": []
2366+
"classifications": [],
23972367
},
23982368
},
23992369
{
24002370
"name": "response-text",
24012371
"text_answer": {
24022372
"content": "free form text...",
2403-
"classifications": []
2373+
"classifications": [],
24042374
},
24052375
"value": "response-text",
24062376
},
@@ -2427,7 +2397,6 @@ def expected_export_v2_llm_prompt_response_creation():
24272397
"name": "first_radio_answer",
24282398
"value": "first_radio_answer",
24292399
},
2430-
"name": "radio-response",
24312400
"value": "radio-response",
24322401
},
24332402
],
@@ -2446,7 +2415,7 @@ def expected_export_v2_llm_prompt_creation():
24462415
"value": "prompt-text",
24472416
"text_answer": {
24482417
"content": "free form text...",
2449-
"classifications": []
2418+
"classifications": [],
24502419
},
24512420
},
24522421
],
@@ -2465,7 +2434,7 @@ def expected_export_v2_llm_response_creation():
24652434
"name": "response-text",
24662435
"text_answer": {
24672436
"content": "free form text...",
2468-
"classifications": []
2437+
"classifications": [],
24692438
},
24702439
"value": "response-text",
24712440
},
@@ -2492,7 +2461,6 @@ def expected_export_v2_llm_response_creation():
24922461
"name": "first_radio_answer",
24932462
"value": "first_radio_answer",
24942463
},
2495-
"name": "radio-response",
24962464
"value": "radio-response",
24972465
},
24982466
],
@@ -2581,7 +2549,7 @@ def expected_exports_v2_mmc(mmc_example_data_row_message_ids):
25812549
"value": "text",
25822550
"text_answer": {
25832551
"content": "free form text...",
2584-
"classifications": []
2552+
"classifications": [],
25852553
},
25862554
},
25872555
{

0 commit comments

Comments
 (0)