Flake8
authorNeil <neil@dip.sun.ac.za>
Thu, 8 Sep 2016 12:03:26 +0000 (14:03 +0200)
committerNeil <neil@dip.sun.ac.za>
Thu, 8 Sep 2016 12:03:26 +0000 (14:03 +0200)
tabakrolletjie/enemies.py
tabakrolletjie/sound.py

index 140edf7964054ddd7ec3bd6117a9681a6c7f3e15..104abd1d10752e87e288557f276b1a4cfceed42d 100644 (file)
@@ -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
index 14a01ff52395b69617d5037edea07c1d2014db98..ca85d52820f295b00a4ab6e8206c9a4c292cec7a 100644 (file)
@@ -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):