File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -1615,7 +1615,6 @@ def group_matches(license_matches, lines_threshold=LINES_THRESHOLD):
16151615 # This is regardless of line number difference being more than threshold
16161616 if previous_match .rule .is_license_intro :
16171617 group_of_license_matches .append (license_match )
1618- continue
16191618
16201619 # If the current match is an intro, we should create a new group
16211620 # This is regardless of line number difference being less than threshold
@@ -1629,13 +1628,11 @@ def group_matches(license_matches, lines_threshold=LINES_THRESHOLD):
16291628 yield group_of_license_matches
16301629 yield [license_match ]
16311630 group_of_license_matches = []
1632- continue
16331631
16341632 # If none of previous or current match has license intro then we look at line numbers
16351633 # If line number difference is within threshold, we keep the current match in the group
16361634 elif is_in_group_by_threshold :
16371635 group_of_license_matches .append (license_match )
1638- continue
16391636
16401637 # If line number difference is outside threshold, we make a new group
16411638 else :
You can’t perform that action at this time.
0 commit comments