Run black.
This commit is contained in:
1 parent
a9405eaf83
commit
e8f83708b0
4 files changed
+6
-12
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user