From 6ba37de82113768031c8ff425a78600549f1cffc Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 21 Jun 2022 20:06:28 +0000 Subject: [PATCH] Add newline at end of file --- main.py | 2 +- main_alt.py | 2 +- modules/Board.py | 2 +- modules/GameObject.py | 2 +- modules/Loader.py | 2 +- modules/Paddle.py | 2 +- modules/PowerUp.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/main.py b/main.py index 98a4c38..4d8ef2f 100644 --- a/main.py +++ b/main.py @@ -19,4 +19,4 @@ def main(): pygame.quit() if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/main_alt.py b/main_alt.py index 7edb7d2..d6f0d47 100644 --- a/main_alt.py +++ b/main_alt.py @@ -210,4 +210,4 @@ def main(): pygame.quit() if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/modules/Board.py b/modules/Board.py index b44d234..709b4a1 100644 --- a/modules/Board.py +++ b/modules/Board.py @@ -127,4 +127,4 @@ def get_time(self): time_str = str(time_left // 60) + ':' + str(time_left % 60) - return time_str \ No newline at end of file + return time_str diff --git a/modules/GameObject.py b/modules/GameObject.py index ea5c6eb..8ea78e4 100644 --- a/modules/GameObject.py +++ b/modules/GameObject.py @@ -109,4 +109,4 @@ def check_modifier(self, modifier_tag:str): def handle_modifiers(self): pass - # ===================================================================================== \ No newline at end of file + # ===================================================================================== diff --git a/modules/Loader.py b/modules/Loader.py index be9118a..30b9011 100644 --- a/modules/Loader.py +++ b/modules/Loader.py @@ -25,4 +25,4 @@ def load_game(self, ball_speed, ball_img = pygame.image.load("assets/game_board "player_right" : Player(1), "game_music": pygame.mixer.Sound("assets/sounds/play_board.wav"), "winner_music": pygame.mixer.Sound("assets/sounds/winner.wav") - } \ No newline at end of file + } diff --git a/modules/Paddle.py b/modules/Paddle.py index 09ee8d2..ac1c681 100644 --- a/modules/Paddle.py +++ b/modules/Paddle.py @@ -95,4 +95,4 @@ def handle_modifiers(self): # Render function def render(self, screen:pygame.surface.Surface): screen.blit(self.image, [self.x - PADDLE_NEON, self.y - PADDLE_NEON]) - # pygame.draw.rect(screen, (255,0,0), self.rect) # for debugging \ No newline at end of file + # pygame.draw.rect(screen, (255,0,0), self.rect) # for debugging diff --git a/modules/PowerUp.py b/modules/PowerUp.py index 4487f4e..20af809 100644 --- a/modules/PowerUp.py +++ b/modules/PowerUp.py @@ -79,4 +79,4 @@ def give_effect(self, paddle): "duration": 5 }) - self.item_hit_sound.play() \ No newline at end of file + self.item_hit_sound.play()