From: Neil Date: Thu, 8 Sep 2016 12:03:26 +0000 (+0200) Subject: Flake8 X-Git-Tag: tabakrolletjie-v1.0.0~184 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=461c8df856357e3bb6eae1681f6dafedf8ac1290;p=tabakrolletjie.git Flake8 --- 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):