Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin-Sun-tts committed Nov 19, 2024
1 parent 793116a commit 83a6a3a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions harvester/harvest.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def send_notification_emails(self, results: dict) -> None:
try:
job_url = f'{SMTP_CONFIG["base_url"]}/{self.job_id}'

subject = f"Harvest Job Completed"
subject = "Harvest Job Completed"
body = f"""
The harvest job (ID: {self.job_id}) has been successfully completed.
You can view the details here: {job_url}
Expand All @@ -381,8 +381,10 @@ def send_notification_emails(self, results: dict) -> None:
- Records Ignored: {results[None]}
====
You are receiving this email because you are currently set-up as Administrator for https://catalog.data.gov/
Please do not reply to this email as it was sent from a non-monitored address.
You are receiving this email because you are currently set-up as
Administrator for https://catalog.data.gov/.
Please do not reply to this email as it was sent from a
non-monitored address.
"""

recipient_list = self.notification_emails
Expand Down

1 comment on commit 83a6a3a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests Skipped Failures Errors Time
2 0 💤 0 ❌ 0 🔥 9.288s ⏱️

Please sign in to comment.