Skip to content

Commit aa54efb

Browse files
committed
fix(LAB-3719): pylint
1 parent 6123f30 commit aa54efb

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/kili/presentation/client/label.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,7 @@ def append_labels_from_shapefiles(
14061406
asset_external_id_array=[asset_external_id],
14071407
)
14081408

1409+
# pylint: disable=too-many-branches
14091410
@typechecked
14101411
def append_labels_from_geojson_files(
14111412
self,

src/kili/utils/labels/geojson.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
"""Utility functions to enrich GeoJSON features with Kili properties."""
2+
13
from typing import Dict
24

35

6+
# pylint: disable=too-many-statements,too-many-branches
47
def enrich_geojson_with_kili_properties(feature_collection: Dict, json_interface: Dict) -> Dict:
58
"""Enrich GeoJSON features with kili properties when missing.
69
@@ -101,6 +104,7 @@ def create_kili_property(job_name, job_config, annotation_type):
101104
return enriched_collection
102105

103106

107+
# pylint: disable=too-many-branches
104108
def enrich_geojson_with_specific_mapping(
105109
feature_collection: Dict, json_interface: Dict, target_job_name: str, target_category_name: str
106110
) -> Dict:

0 commit comments

Comments
 (0)