Fix linter 'line too long'

This commit is contained in:
vladmalynych authored and David Wobrock committed 2019-07-28 12:28:56 +02:00
1 parent 48f52d53e2
commit 6bbf2a653c
1 file changed
+2 -1
+2 -1
View File
@@ -74,7 +74,8 @@ def analyse_sql_statements(sql_statements, exclude_tests):
errors = []
for statement in sql_statements:
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))
table_search = re.search("TABLE `([^`]*)`", statement, re.IGNORECASE)
col_search = re.search("COLUMN `([^`]*)`", statement, re.IGNORECASE)