address flake8 issues

This commit is contained in:
Jon S. Stumpf 2019-05-31 14:53:26 -04:00 committed by David Lord
parent 8577b347a7
commit 4dc9c68d19
23 changed files with 86 additions and 89 deletions

View file

@ -705,7 +705,7 @@ def test_add_template_test_with_name_and_template(app, client):
def test_context_processing(app, client):
answer_bp = flask.Blueprint("answer_bp", __name__)
template_string = lambda: flask.render_template_string(
template_string = lambda: flask.render_template_string( # noqa: E731
"{% if notanswer %}{{ notanswer }} is not the answer. {% endif %}"
"{% if answer %}{{ answer }} is the answer.{% endif %}"
)