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

@@ -2,7 +2,7 @@ import random
def print_n_whitespaces(n: int):
print(" "*n, end="")
print(" " * n, end="")
def print_n_newlines(n: int):
@@ -75,10 +75,10 @@ if Z != "NO":
["3", "HEAD", "1"],
["4", "FEELERS", "2"],
["5", "TAIL", "1"],
["6", "LEGS", "6"]
["6", "LEGS", "6"],
]
for row in table:
print("{:<16}{:<16}{:<20}".format(row[0], row[1], row[2]))
print(f"{row[0]:<16}{row[1]:<16}{row[2]:<20}")
print_n_newlines(2)
A = 0
@@ -299,4 +299,4 @@ while not (Y > 0):
if Y != 0:
break
print("I HOPE YOU ENJOYED THE GAME, PLAY IT AGAIN SOON!!")
print("I HOPE YOU ENJOYED THE GAME, PLAY IT AGAIN SOON!!")