Pylint-ed query_templates.