Run black.

This commit is contained in:
David Wobrock authored and David Wobrock committed 2022-11-03 22:00:00 +01:00
1 parent a9405eaf83
commit e8f83708b0
4 files changed
+6 -12

No files matched your search

+1 -2
View File
@@ -36,8 +36,7 @@ def has_add_unique(sql_statements, **kwargs):
concerned_table = regex_result.group(1)
table_is_added_in_transaction = any(
sql.startswith(f"CREATE TABLE {concerned_table}")
for sql in sql_statements
sql.startswith(f"CREATE TABLE {concerned_table}") for sql in sql_statements
)
return not table_is_added_in_transaction