From 461c8df856357e3bb6eae1681f6dafedf8ac1290 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 8 Sep 2016 14:03:26 +0200 Subject: [PATCH] Flake8 --- tabakrolletjie/enemies.py | 5 +++-- tabakrolletjie/sound.py | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tabakrolletjie/enemies.py b/tabakrolletjie/enemies.py index 140edf7..104abd1 100644 --- a/tabakrolletjie/enemies.py +++ b/tabakrolletjie/enemies.py @@ -102,7 +102,7 @@ class Mould(pymunk.Body): if self._age in (10, 20): # We grow in size refresh = True - self._img = None # invalidate cached image + self._img = None # invalidate cached image if self._age > 20 and random.randint(0, 100) < 1: # Maybe we grow an eyeball @@ -143,7 +143,8 @@ class Boyd(object): 0) for m in self._moulds: if m.has_eyeball: - self._image.blit(m.get_eyeball(), m.pygame_pos(self._image), None, 0) + self._image.blit(m.get_eyeball(), m.pygame_pos(self._image), + None, 0) def tick(self, gamestate, space, lights): redraw = False diff --git a/tabakrolletjie/sound.py b/tabakrolletjie/sound.py index 14a01ff..ca85d52 100644 --- a/tabakrolletjie/sound.py +++ b/tabakrolletjie/sound.py @@ -1,9 +1,11 @@ from pygame import mixer -from .constants import FREQ, BITSIZE, CHANNELS, BUFFER, DEFAULT_VOLUME, NO_SOUND +from .constants import (FREQ, BITSIZE, CHANNELS, BUFFER, DEFAULT_VOLUME, + NO_SOUND) from .loader import loader + class SoundManager(object): def init(self): -- 2.34.1