Correctly ignore unused variables
The correct way of ignoring components of a tuple returned by a function is using _
instead of disabling pylint warnings.
I found those:
iota2/classification/image_classifier.py
772: labs_dict, # pylint: disable=W0612
773: dep_features, # pylint: disable=W0612
792: ) = compute_custom_features( # pylint: disable=W0612
849: other_dep, # pylint: disable=W0612
iota2/classification/py_classifiers.py
611: otb_img, # pylint: disable=W0612
612: deps_pipeline, # pylint: disable=W0612
1148: ) = generate_features( # pylint: disable=W0612
1180: deps_pipeline, # pylint: disable=W0612
iota2/common/write_features_map.py
118: ) = genFeatures.generate_features( # pylint: disable=W0612
133: otbimage, # pylint: disable=W0612
137: deps, # pylint: disable=W0612
iota2/sampling/vector_sampler.py
213: ) = compute_custom_features( # pylint: disable=W0612
335: sample_extr, dep_gapsample = get_features_application( # type: ignore # pylint: disable=W0612
567: dep_gapsample_na, # pylint: disable=W0612
609: ) = get_features_application( # type: ignore # pylint: disable=W0612
1141: sample_extr, dep_tmp = get_features_application( # type: ignore # pylint: disable=W0612
iota2/segmentation/prepare_segmentation_obia.py
771: (sensor_features, sensor_features_dep), # pylint: disable=W0612