mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 15:16:33 -08:00
Clean Code: Python
Fix issues found by flake8-bugbear: * Unused loop variables * assert statements in non-test code * mixing test code with production code * mark one excessive test which takes ~10min to run as 'slow'
This commit is contained in:
@@ -93,7 +93,7 @@ def main():
|
||||
z2 = 2
|
||||
running_correct = 0
|
||||
|
||||
for round in range(1, 4):
|
||||
for _round in range(1, 4):
|
||||
valid_numbers = False
|
||||
numbers = []
|
||||
while not valid_numbers:
|
||||
|
||||
Reference in New Issue
Block a user