From 501637547ecefa584db3793f71f1863da5ffc25f Mon Sep 17 00:00:00 2001 From: ericluoliu <54130092+ericluoliu@users.noreply.github.com> Date: Wed, 30 Jun 2021 06:53:32 -0700 Subject: [PATCH] Issue #8823 - remove bots from contributors list (#8828) * fix-contributors-list * remove-bots * delete-extraneous-file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- scripts/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.py b/scripts/release.py index 6892a0758..2cfe063e9 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -20,7 +20,7 @@ def announce(version): stdout = check_output(["git", "log", f"{last_version}..HEAD", "--format=%aN"]) stdout = stdout.decode("utf-8") - contributors = set(stdout.splitlines()) + contributors = {name for name in stdout.splitlines() if not name.endswith("[bot]")} template_name = ( "release.minor.rst" if version.endswith(".0") else "release.patch.rst"