Skip to content

Commit bd9629d

Browse files
Merge pull request avinashkranjan#2908 from avinashkranjan/deepsource-transform-0c9101c2
format code with autopep8
2 parents bbd92e7 + e9e8fc6 commit bd9629d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Zhed/Zhed.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
pygame.display.set_caption("Zhed")
2020

2121
# Main loop
22+
23+
2224
def main():
2325
running = True
2426

@@ -36,12 +38,15 @@ def main():
3638
sys.exit()
3739

3840
# Draw the grid
41+
42+
3943
def draw_grid():
4044
for x in range(0, WIDTH, CELL_SIZE):
4145
pygame.draw.line(screen, BLACK, (x, 0), (x, HEIGHT))
4246
for y in range(0, HEIGHT, CELL_SIZE):
4347
pygame.draw.line(screen, BLACK, (0, y), (WIDTH, y))
4448

49+
4550
# Start the game
4651
if __name__ == "__main__":
4752
main()

0 commit comments

Comments
 (0)