From: Simon Cross Date: Sun, 4 Sep 2016 15:51:29 +0000 (+0200) Subject: Fix flake8 issues. X-Git-Tag: tabakrolletjie-v1.0.0~261 X-Git-Url: https://git.ctpug.org.za/?p=tabakrolletjie.git;a=commitdiff_plain;h=fbdef20efb7ebc5f3e570766089247feeb387179 Fix flake8 issues. --- 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