File tree Expand file tree Collapse file tree 8 files changed +14
-11
lines changed Expand file tree Collapse file tree 8 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,9 @@ max-spelling-suggestions=2
420420# Maximum number of arguments for function / method
421421max-args =10
422422
423+ # Maximum number of arguments for function / method
424+ max-positional-arguments =11
425+
423426# Maximum number of locals for function / method body
424427max-locals =25
425428
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def is_matching(
5555 comp_children : np .ndarray ,
5656 tr : int ,
5757 tc : int
58- ): #pylint: disable=too-many-arguments
58+ ):
5959 """
6060 Checks if the reference and the computed track match.
6161
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def chota(
5656 labels_comp : list ,
5757 mapped_ref : list ,
5858 mapped_comp : list
59- ): #pylint: disable=too-many-arguments
59+ ):
6060 """
6161
6262
Original file line number Diff line number Diff line change 99 num_vertices : int ,
1010 num_edges : int ,
1111 ** _ignored
12- ): #pylint: disable=too-many-arguments
12+ ):
1313 """
1414 Calculate Tracking (TRA) metric.
1515
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ def calculate_metrics(
128128 segm : dict ,
129129 metrics : list = None ,
130130 is_valid : bool = None ,
131- ): # pylint: disable=too-complex,too-many-arguments
131+ ): # pylint: disable=too-complex
132132 """
133133 Calculate metrics for given data.
134134
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ def add_noise(
294294 noise_add_idsw : int = 0 ,
295295 noise_remove_matches : int = 0 ,
296296 noise_remove_mitosis : int = 0 ,
297- ): #pylint: disable=too-many-arguments
297+ ):
298298 """
299299 Add noise to the data.
300300
@@ -407,7 +407,7 @@ def run_noisy_sample(
407407 name : str ,
408408 setting : dict ,
409409 default_setting : dict ,
410- ): #pylint: disable=too-many-arguments
410+ ):
411411 """
412412 Run a noisy sample
413413
@@ -486,7 +486,7 @@ def create_noise_settings(
486486 num_matches : int ,
487487 comp_tracks : np .ndarray ,
488488 ref_tracks : np .ndarray ,
489- ): #pylint: disable=too-many-arguments
489+ ):
490490 """
491491 Create a list of noise settings that should be executed from the given
492492 parameters.
@@ -546,7 +546,7 @@ def evaluate_sequence(
546546 num_false_pos : int = 500 ,
547547 num_idsw : int = 500 ,
548548 num_matches : int = 500 ,
549- ): #pylint: disable=too-many-arguments
549+ ):
550550 """
551551 Evaluates a single sequence
552552
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ def create_colored_image(
190190 ids_to_show : list = None ,
191191 frame : int = None ,
192192 parents : dict = None ,
193- ): #pylint: disable=too-many-arguments
193+ ):
194194 """
195195 Creates a colored image from the input image and the results.
196196
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ def create_detection_test_matrix(
212212 labels_comp : list ,
213213 mapped_ref : list ,
214214 mapped_comp : list ,
215- ): #pylint: disable=too-many-arguments
215+ ):
216216 """
217217 Creates the detection test matrix for the input tracks. The detection test
218218 is stored as a sparse matrix with num_V_C rows and num_V_R columns. The
@@ -250,7 +250,7 @@ def count_acyclic_graph_correction_operations(
250250 labels_comp : list ,
251251 mapped_ref : list ,
252252 mapped_comp : list ,
253- ): #pylint: disable=too-many-arguments
253+ ):
254254 """
255255 Calculates the necessary operations to correct the result tracks to match
256256 the ground truth tracks. The operations are counted according to:
You can’t perform that action at this time.
0 commit comments