Skip to content

Commit

Permalink
chore: fix quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanttV committed May 8, 2024
1 parent 7f01127 commit d1c3e80
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions platform_plugin_turnitin/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from platform_plugin_turnitin.tasks import ora_submission_created_task


def ora_submission_created(submission, **kwargs): # pylint: disable=unused-argument
def ora_submission_created(submission, **kwargs):
"""
Handle the ORA_SUBMISSION_CREATED event.
Expand All @@ -26,7 +26,13 @@ def ora_submission_created(submission, **kwargs): # pylint: disable=unused-argu
call_ora_submission_created_task(submission)


def call_ora_submission_created_task(submission):
def call_ora_submission_created_task(submission) -> None:
"""
Call the ORA submission created task.
Args:
submission (ORASubmissionData): The ORA submission data.
"""
ora_submission_created_task.delay(
submission.uuid,
submission.anonymous_user_id,
Expand Down

0 comments on commit d1c3e80

Please sign in to comment.