-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,7 @@ def agreement_is_different(): | |
|
||
# Check if the contributing file is different. | ||
if all(file != CONTRIBUTING_FILE_NAME for file in diff_output.splitlines()): | ||
print(f"{CONTRIBUTING_FILE_NAME} is not different.") | ||
return False | ||
|
||
previous_agreement_end_line_index = get_previous_agreement_end_line_index() | ||
|
@@ -123,6 +124,7 @@ def agreement_is_different(): | |
except StopIteration: | ||
pass | ||
|
||
print("All differences are after the end of the agreement.") | ||
return False | ||
|
||
|
||
|
@@ -168,8 +170,6 @@ def send_emails(auth: str, contributors: Contributors): | |
contributors: The email addresses to send the email to. | ||
""" | ||
|
||
contributors = {"[email protected]"} # TODO: remove | ||
|
||
failed_sends = False | ||
|
||
for contributor in contributors: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters