Reformat using black
This commit is contained in:
parent
efee4ad081
commit
a87fb49918
221 changed files with 19127 additions and 7310 deletions
|
@ -4,7 +4,7 @@ from celery import shared_task
|
|||
|
||||
from judge.utils.celery import Progress
|
||||
|
||||
__all__ = ('success', 'failure', 'progress')
|
||||
__all__ = ("success", "failure", "progress")
|
||||
|
||||
|
||||
@shared_task
|
||||
|
@ -14,7 +14,7 @@ def success():
|
|||
|
||||
@shared_task
|
||||
def failure():
|
||||
raise RuntimeError('This task always fails.')
|
||||
raise RuntimeError("This task always fails.")
|
||||
|
||||
|
||||
@shared_task(bind=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue