Skip to content

Commit 1282198

Browse files
committed
added #NOSONAR
1 parent c2a4778 commit 1282198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

brain_games/games/brain_progression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def question_generator():
88
progression_length = random.randint(5, 10) #NOSONAR
99
start = random.randint(1, 20) #NOSONAR
1010
step = random.randint(1, 5) #NOSONAR
11-
hidden_index = random.randint(1, progression_length - 2)
11+
hidden_index = random.randint(1, progression_length - 2) #NOSONAR
1212
progression = [str(start + i * step) for i in range(progression_length)]
1313
correct_answer = progression[hidden_index]
1414
progression[hidden_index] = '..'

0 commit comments

Comments
 (0)