MAINT: Apply pre-commit

Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
This commit is contained in:
Martin Thoma
2022-03-05 09:29:23 +01:00
parent f5e33ae38f
commit e64fb6795c
536 changed files with 6267 additions and 5556 deletions

View File

@@ -32,10 +32,10 @@ def parse_input():
correct_input = False
while not correct_input:
try:
i = int(input('? '))
i = int(input("? "))
correct_input = True
except ValueError:
print('Number expected...')
print("Number expected...")
return i
@@ -43,8 +43,8 @@ initial_message()
while True:
dead = False
n = 0
print("Type \'1\' to Spin chamber and pull trigger")
print("Type \'2\' to Give up")
print("Type '1' to Spin chamber and pull trigger")
print("Type '2' to Give up")
print("Go")
while not dead:
i = parse_input()