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>
This commit is contained in:
ericluoliu 2021-06-30 06:53:32 -07:00 committed by GitHub
parent 9cdb7223b5
commit 501637547e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def announce(version):
stdout = check_output(["git", "log", f"{last_version}..HEAD", "--format=%aN"]) stdout = check_output(["git", "log", f"{last_version}..HEAD", "--format=%aN"])
stdout = stdout.decode("utf-8") stdout = stdout.decode("utf-8")
contributors = set(stdout.splitlines()) contributors = {name for name in stdout.splitlines() if not name.endswith("[bot]")}
template_name = ( template_name = (
"release.minor.rst" if version.endswith(".0") else "release.patch.rst" "release.minor.rst" if version.endswith(".0") else "release.patch.rst"