Don't thank pytest bot (#9372)

This commit is contained in:
Florian Bruhin 2021-12-06 22:55:18 +01:00 committed by GitHub
parent 3a479db126
commit fbf64d2529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@ def announce(version, template_name):
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 = {name for name in stdout.splitlines() if not name.endswith("[bot]")} contributors = {
name
for name in stdout.splitlines()
if not name.endswith("[bot]") and name != "pytest bot"
}
template_text = ( template_text = (
Path(__file__).parent.joinpath(template_name).read_text(encoding="UTF-8") Path(__file__).parent.joinpath(template_name).read_text(encoding="UTF-8")