Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanegigandet committed Oct 31, 2024
1 parent 82d5b76 commit 552f424
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/count_product_contributions_by_year.pl
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,12 @@
# Print all the stats by year in tab separated columns to STDOUT
print "year\tactive_editors\tnew_editors\tproducts_edited\tproducts_added\ttotal_products\n";
foreach my $year (sort keys %number_of_products) {
print join("\t", $year, scalar keys %{$active_editors{$year}}, $new_editors{$year}, scalar keys %{$products_edited{$year}}, scalar keys %{$products_added{$year}}, $number_of_products{$year}) . "\n";
print join("\t",
$year, scalar keys %{$active_editors{$year}},
$new_editors{$year},
scalar keys %{$products_edited{$year}},
scalar keys %{$products_added{$year}},
$number_of_products{$year}) . "\n";
}


exit(0);

0 comments on commit 552f424

Please sign in to comment.