Skip to content

Commit 5d8aa50

Browse files
committed
Workaround for bug in flake8/pyflakes
1 parent 148427d commit 5d8aa50

File tree

2 files changed

+2
-2
lines changed
  • python-quiz-application

2 files changed

+2
-2
lines changed

python-quiz-application/source_code_final/quiz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def get_answers(question, alternatives, num_choices=1, hint=None):
9494
for answer in answers
9595
):
9696
print(
97-
f"{invalid!r} is not a valid choice. "
97+
f"{invalid!r} is not a valid choice. " # noqa
9898
f"Please use {', '.join(labeled_alternatives)}"
9999
)
100100
continue

python-quiz-application/source_code_step_5/quiz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_answers(question, alternatives, num_choices=1, hint=None):
8585
for answer in answers
8686
):
8787
print(
88-
f"{invalid!r} is not a valid choice. "
88+
f"{invalid!r} is not a valid choice. " # noqa
8989
f"Please use {', '.join(labeled_alternatives)}"
9090
)
9191
continue

0 commit comments

Comments
 (0)