address flake8 issues
This commit is contained in:
parent
8577b347a7
commit
4dc9c68d19
23 changed files with 86 additions and 89 deletions
|
|
@ -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 %}"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue