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

@@ -5,7 +5,7 @@
class Canvas:
""" For drawing the cookie """
"""For drawing the cookie"""
def __init__(self, width=9, height=9, fill="*"):
self._buffer = []
@@ -83,8 +83,12 @@ def play_game():
player_column = -1
while player_row == -1 or player_column == -1:
try:
coordinates = [int(item) for item in input(
"Coordinates of chomp (Row, Column) ").split(",")]
coordinates = [
int(item)
for item in input("Coordinates of chomp (Row, Column) ").split(
","
)
]
player_row = coordinates[0]
player_column = coordinates[1]