91 return (name in names, statement) |
91 return (name in names, statement) |
92 else: |
92 else: |
93 return (False, statement) |
93 return (False, statement) |
94 |
94 |
95 |
95 |
96 def checkHardcodedSqlExpressions(reportError, context, config): |
96 def checkHardcodedSqlExpressions(reportError, context, config): # noqa: U100 |
97 """ |
97 """ |
98 Function to check for SQL injection. |
98 Function to check for SQL injection. |
99 |
99 |
100 @param reportError function to be used to report errors |
100 @param reportError function to be used to report errors |
101 @type func |
101 @type func |