Mypy gods are unhappy

This commit is contained in:
Alexandre Aubin 2022-10-29 18:49:25 +02:00 committed by GitHub
parent ac1251a94b
commit 372a602378
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1585,7 +1585,7 @@ def ask_questions_and_parse_answers(
question = question_class(raw_question, context=context, hooks=hooks)
if question.type == "button":
if question.enabled is None or evaluate_simple_js_expression( # type: ignore
question.enabled, context=context
question.enabled, context=context # type: ignore
): # type: ignore
continue
else: