Skip to content

Commit 7af75e4

Browse files
committed
Fix lint
1 parent 2679c0b commit 7af75e4

File tree

1 file changed

+11
-41
lines changed

1 file changed

+11
-41
lines changed

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

Lines changed: 11 additions & 41 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
},
@@ -2445,7 +2415,7 @@ def expected_export_v2_llm_prompt_creation():
24452415
"value": "prompt-text",
24462416
"text_answer": {
24472417
"content": "free form text...",
2448-
"classifications": []
2418+
"classifications": [],
24492419
},
24502420
},
24512421
],
@@ -2464,7 +2434,7 @@ def expected_export_v2_llm_response_creation():
24642434
"name": "response-text",
24652435
"text_answer": {
24662436
"content": "free form text...",
2467-
"classifications": []
2437+
"classifications": [],
24682438
},
24692439
"value": "response-text",
24702440
},
@@ -2579,7 +2549,7 @@ def expected_exports_v2_mmc(mmc_example_data_row_message_ids):
25792549
"value": "text",
25802550
"text_answer": {
25812551
"content": "free form text...",
2582-
"classifications": []
2552+
"classifications": [],
25832553
},
25842554
},
25852555
{

0 commit comments

Comments
 (0)