Fix linter 'line too long'
This commit is contained in:
1 parent
48f52d53e2
commit
6bbf2a653c
1 file changed
+2
-1
@@ -74,7 +74,8 @@ def analyse_sql_statements(sql_statements, exclude_tests):
|
|||||||
errors = []
|
errors = []
|
||||||
for statement in sql_statements:
|
for statement in sql_statements:
|
||||||
for test in migration_tests:
|
for test in migration_tests:
|
||||||
if test["code"] not in exclude_tests and test["fn"](statement, errors=errors):
|
if test["code"] not in exclude_tests and test["fn"](statement,
|
||||||
|
errors=errors):
|
||||||
logger.debug("Testing {0} -- ERROR".format(statement))
|
logger.debug("Testing {0} -- ERROR".format(statement))
|
||||||
table_search = re.search("TABLE `([^`]*)`", statement, re.IGNORECASE)
|
table_search = re.search("TABLE `([^`]*)`", statement, re.IGNORECASE)
|
||||||
col_search = re.search("COLUMN `([^`]*)`", statement, re.IGNORECASE)
|
col_search = re.search("COLUMN `([^`]*)`", statement, re.IGNORECASE)
|
||||||
|
|||||||
Reference in new issue
Block a user