move code linting to a stricter pep8-esque auto-formatting tool, black

This commit is contained in:
Ryan Petrello
2021-03-19 12:44:51 -04:00
parent 9b702e46fe
commit c2ef0a6500
671 changed files with 20538 additions and 21924 deletions

View File

@@ -11,11 +11,17 @@ class Migration(migrations.Migration):
]
operations = [
migrations.RunSQL([
("DROP TABLE IF EXISTS {} CASCADE;".format(table))
])
for table in ('celery_taskmeta', 'celery_tasksetmeta', 'djcelery_crontabschedule',
'djcelery_intervalschedule', 'djcelery_periodictask',
'djcelery_periodictasks', 'djcelery_taskstate', 'djcelery_workerstate',
'djkombu_message', 'djkombu_queue')
migrations.RunSQL([("DROP TABLE IF EXISTS {} CASCADE;".format(table))])
for table in (
'celery_taskmeta',
'celery_tasksetmeta',
'djcelery_crontabschedule',
'djcelery_intervalschedule',
'djcelery_periodictask',
'djcelery_periodictasks',
'djcelery_taskstate',
'djcelery_workerstate',
'djkombu_message',
'djkombu_queue',
)
]