31 (checkJinja2Autoescape, ("S701",)), |
31 (checkJinja2Autoescape, ("S701",)), |
32 ], |
32 ], |
33 } |
33 } |
34 |
34 |
35 |
35 |
36 def checkJinja2Autoescape(reportError, context, config): |
36 def checkJinja2Autoescape(reportError, context, config): # noqa: U100 |
37 """ |
37 """ |
38 Function to check for not auto escaping in jinja2. |
38 Function to check for not auto escaping in jinja2. |
39 |
39 |
40 @param reportError function to be used to report errors |
40 @param reportError function to be used to report errors |
41 @type func |
41 @type func |