From df426ae282f567872d3a1821f42e67bcf6453d16 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 20 Mar 2025 12:50:36 -0700 Subject: [PATCH] tools: Treat hosted weblate as a bot in contributor counts. --- tools/total-contributions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/total-contributions b/tools/total-contributions index 6e6aa989aa..2fd5c4a3b3 100755 --- a/tools/total-contributions +++ b/tools/total-contributions @@ -17,7 +17,7 @@ def add_log(committer_dict: dict[str, int], input: list[str]) -> None: committer_name = dataset.split("\t")[1] commit_count = int(dataset.split("\t")[0]) - if committer_name.endswith("[bot]"): + if committer_name.endswith("[bot]") or committer_name == "Hosted Weblate": # Exclude dependabot[bot] and other GitHub bots. global bot_commits bot_commits += commit_count