fix: compatibility with black v25+ (#15789)

This commit is contained in:
Peter Braun
2025-01-29 16:06:14 +01:00
committed by GitHub
parent aa0f2e362b
commit d36cd6c6ab
5 changed files with 10 additions and 10 deletions

View File

@@ -17,8 +17,8 @@ tables_to_drop = [
'djkombu_message',
'djkombu_queue',
]
postgres_sql = ([("DROP TABLE IF EXISTS {} CASCADE;".format(table))] for table in tables_to_drop)
sqlite_sql = ([("DROP TABLE IF EXISTS {};".format(table))] for table in tables_to_drop)
postgres_sql = (["DROP TABLE IF EXISTS {} CASCADE;".format(table)] for table in tables_to_drop)
sqlite_sql = (["DROP TABLE IF EXISTS {};".format(table)] for table in tables_to_drop)
class Migration(migrations.Migration):