mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 15:16:33 -08:00
Clean Code: Apply flake8-simplify to Python
Also flake8-comprehensions which was added to the CI For flake8-simplify, there are a few false-positives, e.g. https://github.com/MartinThoma/flake8-simplify/issues/115
This commit is contained in:
@@ -96,7 +96,7 @@ U = 0
|
||||
V = 0
|
||||
Y = 0
|
||||
|
||||
while not (Y > 0):
|
||||
while Y <= 0:
|
||||
Z = random.randint(1, 6)
|
||||
print()
|
||||
C = 1
|
||||
|
||||
Reference in New Issue
Block a user