Apply black
This commit is contained in:
1 parent
ea89043d8c
commit
27e492996c
2 files changed
+5
-2
No files matched your search
@@ -15,7 +15,8 @@ class PostgresqlAnalyser(BaseAnalyser):
|
||||
},
|
||||
{
|
||||
"code": "DROP_INDEX",
|
||||
"fn": lambda sql, **kw: re.search("DROP INDEX", sql) and not re.search("INDEX CONCURRENTLY", sql),
|
||||
"fn": lambda sql, **kw: re.search("DROP INDEX", sql)
|
||||
and not re.search("INDEX CONCURRENTLY", sql),
|
||||
"msg": "DROP INDEX locks table",
|
||||
"mode": "one_liner",
|
||||
"type": "warning",
|
||||
|
||||
Reference in new issue
Block a user