From fbdef20efb7ebc5f3e570766089247feeb387179 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 4 Sep 2016 17:51:29 +0200 Subject: [PATCH] Fix flake8 issues. --- tabakrolletjie/gamestate.py | 1 + tabakrolletjie/scenes/base.py | 1 + tabakrolletjie/scenes/menu.py | 1 - tabakrolletjie/scenes/night.py | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tabakrolletjie/gamestate.py b/tabakrolletjie/gamestate.py index 6f7f5c4..b77e979 100644 --- a/tabakrolletjie/gamestate.py +++ b/tabakrolletjie/gamestate.py @@ -1,4 +1,5 @@ """ The game state. """ + class GameState(object): pass diff --git a/tabakrolletjie/scenes/base.py b/tabakrolletjie/scenes/base.py index 3b0f60a..118d6e2 100644 --- a/tabakrolletjie/scenes/base.py +++ b/tabakrolletjie/scenes/base.py @@ -1,5 +1,6 @@ """ Base scene class. """ + class BaseScene(object): def enter(self, gamestate): """ Enter the scene. """ diff --git a/tabakrolletjie/scenes/menu.py b/tabakrolletjie/scenes/menu.py index f9658a9..fb0c5f9 100644 --- a/tabakrolletjie/scenes/menu.py +++ b/tabakrolletjie/scenes/menu.py @@ -1,6 +1,5 @@ """ Menu scene. """ -import pygame.event import pygame.locals as pgl from .base import BaseScene diff --git a/tabakrolletjie/scenes/night.py b/tabakrolletjie/scenes/night.py index daea44d..27ab21c 100644 --- a/tabakrolletjie/scenes/night.py +++ b/tabakrolletjie/scenes/night.py @@ -1,6 +1,5 @@ """ In the night, the mould attacks. """ -import pygame.event import pygame.locals as pgl from .base import BaseScene -- 2.34.1